Changeset 3156 for trunk/src/kmk/kmkbuiltin/kSubmit.c
- Timestamp:
- Mar 18, 2018, 9:10:03 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kmkbuiltin/kSubmit.c
r3140 r3156 51 51 #endif 52 52 #ifdef KBUILD_OS_WINDOWS 53 # include "sub_proc.h" 53 # ifndef CONFIG_NEW_WIN_CHILDREN 54 # include "sub_proc.h" 55 # else 56 # include "../w32/winchildren.h" 57 # endif 54 58 #endif 55 59 … … 933 937 if (rc == -1) 934 938 { 939 # ifndef CONFIG_NEW_WIN_CHILDREN 935 940 if (process_kmk_register_submit(pWorker->OverlappedRead.hEvent, (intptr_t)pWorker, pPidSpawned) == 0) 936 941 { /* likely */ } … … 942 947 goto l_again; 943 948 } 949 # else 950 if (MkWinChildCreateSubmit((intptr_t)pWorker->OverlappedRead.hEvent, pWorker, pPidSpawned) == 0) 951 { /* likely */ } 952 else 953 { 954 /* We need to do the waiting here because sub_proc.c has too much to do. */ 955 warnx("MkWinChildCreateSubmit failed!"); 956 WaitForSingleObject(pWorker->OverlappedRead.hEvent, INFINITE); 957 goto l_again; 958 } 959 # endif 944 960 } 945 961 else
Note:
See TracChangeset
for help on using the changeset viewer.