IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 4, 2005, 7:51:09 AM (21 years ago)
Author:
eugene
Message:

added test of exit/crash job stacks

File:
1 edited

Legend:

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

    r4705 r4706  
    3535}
    3636
     37Stack *GetJobStackByName (char *name) {
     38
     39  if (!strcasecmp (name, "pending"))
     40    return (JobPool_Pending);
     41  if (!strcasecmp (name, "busy"))
     42    return (JobPool_Busy);
     43  if (!strcasecmp (name, "done"))
     44    return (JobPool_Done);
     45  if (!strcasecmp (name, "exit"))
     46    return (JobPool_Exit);
     47  if (!strcasecmp (name, "crash"))
     48    return (JobPool_Crash);
     49  return (NULL);
     50}
     51
    3752Job *FindJobStack (IDtype JobID) {
    3853
Note: See TracChangeset for help on using the changeset viewer.