Changeset 8296 for trunk/Ohana/src/opihi/pcontrol/CheckBusyJob.c
- Timestamp:
- Aug 11, 2006, 4:51:50 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/CheckBusyJob.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/CheckBusyJob.c
r7917 r8296 9 9 IOBuffer buffer; 10 10 Host *host; 11 12 /* we are checking a job which is currently busy. it has been pulled from the 13 JOB_BUSY stack, and is linked to a host in the HOST_BUSY stack. 14 XXX need to check on state of HOST on return */ 11 15 12 16 /** must have a valid host : if not? **/ … … 28 32 29 33 case PCLIENT_HUNG: 30 PutJob (job, PCONTROL_JOB_BUSY, STACK_BOTTOM); 31 job[0].state = PCONTROL_JOB_HUNG; 34 PutJobSetState (job, PCONTROL_JOB_BUSY, STACK_BOTTOM, PCONTROL_JOB_HUNG); 32 35 FreeIOBuffer (&buffer); 33 36 return (TRUE); … … 78 81 79 82 /** job has exited : move to DONE stack (host still BUSY) **/ 80 PutJob (job, PCONTROL_JOB_DONE, STACK_BOTTOM); 81 job[0].state = outstate; 83 PutJobSetState (job, PCONTROL_JOB_DONE, STACK_BOTTOM, outstate); 82 84 FreeIOBuffer (&buffer); 83 85 return (TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.
