Changeset 3313 for trunk/src/kmk/w32/winchildren.h
- Timestamp:
- Mar 16, 2020, 3:31:38 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/w32/winchildren.h
r3200 r3313 26 26 #ifndef INCLUDED_WINCHILDREN_H 27 27 #define INCLUDED_WINCHILDREN_H 28 29 /** Child processor group allocator state. */ 30 typedef struct MKWINCHILDCPUGROUPALLOCSTATE 31 { 32 /** The group index for the worker allocator. 33 * This is ever increasing and must be modded by g_cProcessorGroups. */ 34 unsigned int idxGroup; 35 /** The processor in group index for the worker allocator. */ 36 unsigned int idxProcessorInGroup; 37 } MKWINCHILDCPUGROUPALLOCSTATE; 38 /** Pointer to a CPU group allocator state. */ 39 typedef MKWINCHILDCPUGROUPALLOCSTATE *PMKWINCHILDCPUGROUPALLOCSTATE; 28 40 29 41 #ifdef DECLARE_HANDLE … … 68 80 int MkWinChildCreate(char **papszArgs, char **papszEnv, const char *pszShell, struct child *pMkChild, pid_t *pPid); 69 81 int MkWinChildCreateWithStdOutPipe(char **papszArgs, char **papszEnv, int fdErr, pid_t *pPid, int *pfdReadPipe); 82 void MkWinChildInitCpuGroupAllocator(PMKWINCHILDCPUGROUPALLOCSTATE pState); 83 unsigned int MkWinChildAllocateCpuGroup(PMKWINCHILDCPUGROUPALLOCSTATE pState); 84 70 85 #ifdef KMK 71 86 struct KMKBUILTINENTRY; … … 86 101 char **papszEnvVars, const char *pszCwd, BOOL pafReplace[3], HANDLE pahReplace[3]); 87 102 # endif 88 #endif 103 #endif /* KMK */ 89 104 int MkWinChildKill(pid_t pid, int iSignal, struct child *pMkChild); 90 105 int MkWinChildWait(int fBlock, pid_t *pPid, int *piExitCode, int *piSignal, int *pfCoreDumped, struct child **ppMkChild);
Note:
See TracChangeset
for help on using the changeset viewer.