version 1.20, 1999/12/18 21:58:07 |
version 1.21, 1999/12/19 00:04:25 |
|
|
} |
} |
|
|
|
|
jnode = Lst_Find(jobs, (ClientData)&pid, JobCmpPid); |
jnode = Lst_Find(jobs, JobCmpPid, (ClientData)&pid); |
|
|
if (jnode == NULL) { |
if (jnode == NULL) { |
if (WIFSIGNALED(status) && (WTERMSIG(status) == SIGCONT)) { |
if (WIFSIGNALED(status) && (WTERMSIG(status) == SIGCONT)) { |
jnode = Lst_Find(stoppedJobs, (ClientData) &pid, JobCmpPid); |
jnode = Lst_Find(stoppedJobs, JobCmpPid, (ClientData)&pid); |
if (jnode == NULL) { |
if (jnode == NULL) { |
Error("Resumed child (%d) not in table", pid); |
Error("Resumed child (%d) not in table", pid); |
continue; |
continue; |
|
|
(void) fprintf(stdout, "JobFlagForMigration(%d) called.\n", hostID); |
(void) fprintf(stdout, "JobFlagForMigration(%d) called.\n", hostID); |
(void) fflush(stdout); |
(void) fflush(stdout); |
} |
} |
jnode = Lst_Find(jobs, (ClientData)hostID, JobCmpRmtID); |
jnode = Lst_Find(jobs, JobCmpRmtID, (ClientData)hostID); |
|
|
if (jnode == NULL) { |
if (jnode == NULL) { |
jnode = Lst_Find(stoppedJobs, (ClientData)hostID, JobCmpRmtID); |
jnode = Lst_Find(stoppedJobs, JobCmpRmtID, (ClientData)hostID); |
if (jnode == NULL) { |
if (jnode == NULL) { |
if (DEBUG(JOB)) { |
if (DEBUG(JOB)) { |
Error("Evicting host(%d) not in table", hostID); |
Error("Evicting host(%d) not in table", hostID); |