Changeset 3156 for trunk/src/kmk/main.c


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/main.c

    r3155 r3156  
    3838# include <io.h>
    3939# include "pathstuff.h"
    40 # include "sub_proc.h"
     40# ifndef CONFIG_NEW_WIN_CHILDREN
     41#  include "sub_proc.h"
     42# else
     43#  include "w32/winchildren.h"
     44# endif
    4145# include "w32err.h"
    4246#endif
     
    22032207 job_setup_complete:
    22042208
     2209#if defined (WINDOWS32) && defined(CONFIG_NEW_WIN_CHILDREN)
     2210  /* Initialize the windows child management. */
     2211  MkWinChildInit(job_slots);
     2212#endif
     2213
    22052214  /* The extra indirection through $(MAKE_COMMAND) is done
    22062215     for hysterical raisins.  */
     
    31203129            setrlimit (RLIMIT_STACK, &stack_limit);
    31213130#endif
     3131# if !defined(WINDOWS32) || !defined(CONFIG_NEW_WIN_CHILDREN)
    31223132          exec_command ((char **)nargv, environ);
     3133# else
     3134          MkWinChildReExecMake ((char **)nargv, environ);
     3135# endif
    31233136#endif
    31243137          free (aargv);
Note: See TracChangeset for help on using the changeset viewer.