IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 11, 2006, 4:51:50 PM (20 years ago)
Author:
eugene
Message:

working on threaded version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/CheckBusyJob.c

    r7917 r8296  
    99  IOBuffer buffer;
    1010  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 */
    1115
    1216  /** must have a valid host : if not? **/
     
    2832
    2933    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);
    3235      FreeIOBuffer (&buffer);
    3336      return (TRUE);
     
    7881
    7982  /** 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);
    8284  FreeIOBuffer (&buffer);
    8385  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.