Changeset 3173 for trunk/src/kmk/w32/winchildren.c
- Timestamp:
- Mar 21, 2018, 10:37:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/w32/winchildren.c
r3172 r3173 2536 2536 * that completed children is the typical source of these tokens (esp. for kmk). 2537 2537 * 2538 * @returns Event handle.2538 * @returns Zero if completed children, event handle if waiting is required. 2539 2539 */ 2540 2540 intptr_t MkWinChildGetCompleteEventHandle(void) 2541 2541 { 2542 return (intptr_t)g_hEvtWaitChildren; 2542 /* We don't return the handle if we've got completed children. This 2543 is a safe guard against being called twice in a row without any 2544 MkWinChildWait call inbetween. */ 2545 if (!g_pTailCompletedChildren) 2546 return (intptr_t)g_hEvtWaitChildren; 2547 return 0; 2543 2548 } 2544 2549
Note:
See TracChangeset
for help on using the changeset viewer.