VirtualBox

Changeset 1165 in kBuild for trunk/src/kmk/w32/subproc


Ignore:
Timestamp:
Sep 30, 2007 7:36:23 AM (17 years ago)
Author:
bird
Message:

Optimized kDebIDB a bit for Windows; use nt_fullpath and map the IDB file into memory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/w32/subproc/sub_proc.c

    r540 r1165  
    737737
    738738        while (!stdin_eof || !stdout_eof || !stderr_eof || !child_dead) {
     739long tick;
    739740                wait_count = 0;
    740741                if (!stdin_eof) {
     
    751752                }
    752753
     754tick = GetTickCount();
    753755                wait_return = WaitForMultipleObjects(wait_count, wait_list,
    754756                         FALSE, /* don't wait for all: one ready will do */
    755757                         child_dead? 1000 :INFINITE); /* after the child dies, subthreads have
    756758                                one second to collect all remaining output */
     759printf("waitformultipleobjects: %d ms rc=%d\n", GetTickCount() - tick, wait_return);
    757760
    758761                if (wait_return == WAIT_FAILED) {
     
    10751078#ifdef KMK /* for the space before the final " in case we need it. */
    10761079        bytes_required++;
    1077 #endif 
     1080#endif
    10781081
    10791082        command_line = (char*) malloc(bytes_required);
     
    11251128                                         */
    11261129                                        backslash_count++;
    1127        
     1130
    11281131                                        while(backslash_count) {
    11291132                                                *(command_line_i++) = '\\';
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette