Changeset 382 in kBuild
- Timestamp:
- Jan 12, 2006 3:59:50 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/job.c
r369 r382 1464 1464 { 1465 1465 struct file *f = c->file; 1466 DB (DB_KMK, (_("start_waiting_job %p (`%s') command_flags=%#x \n"), c, c->file->name, c->file->command_flags));1466 DB (DB_KMK, (_("start_waiting_job %p (`%s') command_flags=%#x slots=%d/%d\n"), c, c->file->name, c->file->command_flags, job_slots_used, job_slots)); 1467 1467 1468 1468 /* If we can start a job remotely, we always want to, and don't care about … … 1478 1478 { 1479 1479 /* Put this child on the chain of children waiting for the load average 1480 to go down. if not paral ell, put it last. */1480 to go down. if not parallel, put it last. */ 1481 1481 set_command_state (f, cs_running); 1482 1482 c->next = waiting_jobs; … … 1510 1510 case cs_running: 1511 1511 c->next = children; 1512 DB (DB_JOBS, (_("Putting child 0x%08lx (%s) PID %ld%s on the chain. \n"),1512 DB (DB_JOBS, (_("Putting child 0x%08lx (%s) PID %ld%s on the chain. (%u/%u)\n"), 1513 1513 (unsigned long int) c, c->file->name, 1514 (long) c->pid, c->remote ? _(" (remote)") : "" ));1514 (long) c->pid, c->remote ? _(" (remote)") : "", job_slots_used + 1, job_slots)); 1515 1515 children = c; 1516 1516 /* One more job slot is in use. */ … … 1781 1781 (void) start_waiting_job (c); 1782 1782 1783 if (job_slots == 1 || not_parallel <0)1783 if (job_slots == 1 || not_parallel > 0) 1784 1784 /* Since there is only one job slot, make things run linearly. 1785 1785 Wait for the child to die, setting the state to `cs_finished'. */
Note:
See TracChangeset
for help on using the changeset viewer.