IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 8, 2011, 2:54:20 PM (15 years ago)
Author:
eugene
Message:

add nice ability to pantasks/pcontrol/pclient; add ports to pantasks_server; minor updates to dvo skycoverage, etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/include/pcontrol.h

    r29540 r32632  
    119119  int          exit_status;
    120120  int          Reset;
     121  int          priority;
    121122  JobMode      mode;
    122123  JobStat      state;
     
    152153} Host;
    153154
     155# if (USE_LLIST)
     156typedef struct StackItem {
     157    StackItem *next;
     158    StackItem *prev;
     159    void *object;
     160    char *name;
     161    int   id;
     162} StackItem;
     163
     164/* the Jobs and Hosts are managed in a set of Stacks which define their state */
     165typedef struct {
     166    StackItem *head;
     167    StackItem *tail; // use this?
     168    int    Nobject;
     169# ifdef THREADED   
     170  pthread_mutex_t mutex;
     171# endif
     172} Stack;
     173
     174# else
     175
    154176/* the Jobs and Hosts are managed in a set of Stacks which define their state */
    155177typedef struct {
     
    163185# endif
    164186} Stack;
     187# endif
    165188
    166189/* XXX if this is hard-wired, we can't change shell name in StartHost */
     
    291314Job   *PullJobByID (IDtype JobID, int *StackID);
    292315Job   *PullJobFromStackByID (int StackID, int ID);
    293 IDtype AddJob (char *hostname, JobMode mode, int timeout, int argc, char **argv, int Nxhosts, char **xhosts);
     316IDtype AddJob (char *hostname, JobMode mode, int timeout, int priority, int argc, char **argv, int Nxhosts, char **xhosts);
    294317void   DelJob (Job *job);
    295318Host  *UnlinkJobAndHost (Job *job);
Note: See TracChangeset for help on using the changeset viewer.