Changeset 1165 in kBuild for trunk/src/kmk/w32/subproc
- Timestamp:
- Sep 30, 2007 7:36:23 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/src/kmk/w32/subproc/sub_proc.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/w32/subproc/sub_proc.c
r540 r1165 737 737 738 738 while (!stdin_eof || !stdout_eof || !stderr_eof || !child_dead) { 739 long tick; 739 740 wait_count = 0; 740 741 if (!stdin_eof) { … … 751 752 } 752 753 754 tick = GetTickCount(); 753 755 wait_return = WaitForMultipleObjects(wait_count, wait_list, 754 756 FALSE, /* don't wait for all: one ready will do */ 755 757 child_dead? 1000 :INFINITE); /* after the child dies, subthreads have 756 758 one second to collect all remaining output */ 759 printf("waitformultipleobjects: %d ms rc=%d\n", GetTickCount() - tick, wait_return); 757 760 758 761 if (wait_return == WAIT_FAILED) { … … 1075 1078 #ifdef KMK /* for the space before the final " in case we need it. */ 1076 1079 bytes_required++; 1077 #endif 1080 #endif 1078 1081 1079 1082 command_line = (char*) malloc(bytes_required); … … 1125 1128 */ 1126 1129 backslash_count++; 1127 1130 1128 1131 while(backslash_count) { 1129 1132 *(command_line_i++) = '\\';
Note:
See TracChangeset
for help on using the changeset viewer.

