Changeset 3297 in kBuild
- Timestamp:
- Oct 3, 2019 6:38:20 AM (5 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/main.c
r3252 r3297 1520 1520 if (!cpus) 1521 1521 cpus = 1; 1522 # if def CONFIG_NEW_WIN_CHILDREN1522 # ifndef CONFIG_NEW_WIN_CHILDREN 1523 1523 if (cpus > 64) 1524 1524 cpus = 64; /* (wait for multiple objects limit) */ -
trunk/src/kmk/w32/w32os.c
r3173 r3297 41 41 jobserver_setup (int slots) 42 42 { 43 #ifndef CONFIG_NEW_WIN_CHILDREN 43 44 /* sub_proc.c cannot wait for more than MAXIMUM_WAIT_OBJECTS objects 44 45 * and one of them is the job-server semaphore object. Limit the … … 50 51 DB (DB_JOBS, (_("Jobserver slots limited to %d\n"), slots)); 51 52 } 53 #endif 52 54 53 55 sprintf (jobserver_semaphore_name, "gmake_semaphore_%d", _getpid ()); … … 194 196 #else 195 197 /* Add the completed children event as the 2nd one. */ 196 handles[1] = (HANDLE)MkWinChildGetCompleteEventHandle ();198 handles[1] = (HANDLE)MkWinChildGetCompleteEventHandle (); 197 199 if (handles[1] == NULL) 198 200 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.