Changeset 34783 for branches/sc_branches/pantasks_condor/include/pantasks.h
- Timestamp:
- Dec 10, 2012, 12:07:22 PM (14 years ago)
- Location:
- branches/sc_branches/pantasks_condor
- Files:
-
- 1 edited
- 1 copied
-
. (copied) (copied from trunk/Ohana/src/opihi ) (1 prop)
-
include/pantasks.h (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/sc_branches/pantasks_condor
- Property svn:mergeinfo set to
-
branches/sc_branches/pantasks_condor/include/pantasks.h
r32632 r34783 11 11 typedef enum { 12 12 JOB_NONE, 13 JOB_BUSY, 14 JOB_EXIT, 13 JOB_BUSY, 14 JOB_EXIT, 15 15 JOB_HUNG, 16 16 JOB_CRASH, … … 19 19 20 20 typedef enum { 21 JOB_LOCAL, 22 JOB_CONTROLLER, 21 JOB_LOCAL, 22 JOB_CONTROLLER, 23 23 } JobMode; 24 24 … … 32 32 enum {TIMER_ALLJOBS, TIMER_SUCCESS, TIMER_FAILURE}; 33 33 34 enum {TASK_NONE, 35 TASK_EMPTY, 36 TASK_COMMENT, 37 TASK_NMAX, 38 TASK_ACTIVE, 39 TASK_TRANGE, 40 TASK_END, 41 TASK_HOST, 42 TASK_NICE, 43 TASK_STDOUT, 44 TASK_STDERR, 45 TASK_COMMAND, 46 TASK_OPTIONS, 47 TASK_PERIODS, 48 TASK_NPENDING, 49 TASK_EXIT, 34 enum {TASK_NONE, 35 TASK_EMPTY, 36 TASK_COMMENT, 37 TASK_NMAX, 38 TASK_ACTIVE, 39 TASK_TRANGE, 40 TASK_END, 41 TASK_HOST, 42 TASK_NICE, 43 TASK_STDOUT, 44 TASK_STDERR, 45 TASK_COMMAND, 46 TASK_OPTIONS, 47 TASK_PERIODS, 48 TASK_NPENDING, 49 TASK_EXIT, 50 50 TASK_EXEC 51 51 } TaskHashResults; … … 68 68 /* a task is a description of the wrapping of a job */ 69 69 typedef struct { 70 Macro *exec; /* name is 'exec' */71 Macro *crash; /* name is 'crash' */70 Macro *exec; /* name is 'exec' */ 71 Macro *crash; /* name is 'crash' */ 72 72 Macro *timeout; 73 73 Macro *defexit; … … 75 75 int NEXIT; 76 76 int Nexit; 77 Macro **exit; /* name is exit status */77 Macro **exit; /* name is exit status */ 78 78 79 79 int argc; … … 120 120 } Task; 121 121 122 // time period include/exclude periods: 123 // date ranges (e_time - e_time) 122 // time period include/exclude periods: 123 // date ranges (e_time - e_time) 124 124 // time ranges (e_time - e_time) (use e_time % 86400) 125 125 // time-of-week ranges (e_time - e_time … … 131 131 // keep: TRUE: perform action within this time period 132 132 // keep: FALSE: do not perform action within this time period 133 133 134 134 typedef struct { 135 int JobID; /* internal ID for job */136 int pid; /* external ID for job */135 int JobID; /* internal ID for job */ 136 int pid; /* external ID for job */ 137 137 138 138 struct timeval last; … … 160 160 int stderr_fd; /* stderr pipe (local only) */ 161 161 162 JobMode mode; /* local or controller? */162 JobMode mode; /* local or controller? */ 163 163 int priority; 164 164 char *realhost; … … 302 302 303 303 int FlushJobs (void); 304 305 #ifdef IPP_CONDOR 306 char* get_hosts_requirement(void); 307 char *get_host_status(char* hostname); 308 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
