forked from lei.chen/myxce
working on scheduler and fix issue #17
This commit is contained in:
parent
4034fd7556
commit
a46ea822c1
10 changed files with 159 additions and 40 deletions
|
|
@ -19,6 +19,7 @@ typedef enum {
|
|||
XCE_SCHED_OP_NONE = 0,
|
||||
XCE_SCHED_OP_UPDATE_CONFIG,
|
||||
XCE_SCHED_OP_UPDATE_JOB,
|
||||
XCE_SCHED_OP_JSTATE_CHANGE,
|
||||
XCE_SCHED_OP_UPDATE_WORKER
|
||||
} xce_sched_op_t;
|
||||
|
||||
|
|
@ -35,6 +36,10 @@ typedef struct {
|
|||
int nworkers;
|
||||
xce_worker_t** workers;
|
||||
} workerupdate;
|
||||
struct {
|
||||
uint64_t jobid;
|
||||
uint32_t state;
|
||||
} job_state_change;
|
||||
} u;
|
||||
} xce_sched_update_request_t;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue