Ignore:
Timestamp:
Mar 18, 2018, 9:10:03 PM (7 years ago)
Author:
bird
Message:

kmk/win: Reworking child process handling. This effort will hopefully handle processor groups better and allow executing internal function off the main thread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/function.c

    r3145 r3156  
    2929#ifdef WINDOWS32 /* bird */
    3030# include "pathstuff.h"
     31# ifdef CONFIG_NEW_WIN_CHILDREN
     32#  include "w32/winchildren.h"
     33# endif
    3134#endif
    3235
     
    22952298/*untested*/
    22962299
     2300# ifndef CONFIG_NEW_WIN_CHILDREN
    22972301#include <windows.h>
    22982302#include <io.h>
    22992303#include "sub_proc.h"
    2300 
    23012304
    23022305int
     
    24252428    }
    24262429}
     2430# endif /* !CONFIG_NEW_WIN_CHILDREN */
    24272431#endif
    24282432
     
    25782582
    25792583#elif defined(WINDOWS32)
     2584# ifdef CONFIG_NEW_WIN_CHILDREN
     2585  pipedes[1] = -1;
     2586  MkWinChildCreateWithStdOutPipe (command_argv, envp, errfd, &pid, &pipedes[0]);
     2587# else
    25802588  windows32_openpipe (pipedes, errfd, &pid, command_argv, envp);
     2589# endif
    25812590  /* Restore the value of just_print_flag.  */
    25822591  just_print_flag = j_p_f;
Note: See TracChangeset for help on using the changeset viewer.