save works
This commit is contained in:
parent
f44ad07116
commit
d0174f2f30
7 changed files with 241 additions and 12 deletions
21
src/scheduler/include/decision.h
Normal file
21
src/scheduler/include/decision.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#if !defined(_DECISION_H_)
|
||||
|
||||
#define _DECISION_H_ 1
|
||||
|
||||
#include "xce/types.h"
|
||||
|
||||
typedef enum {
|
||||
XCE_DECISION_NONE = 0,
|
||||
XCE_DECISION_DISPATCH,
|
||||
XCE_DECISION_PEND,
|
||||
XCE_DECISION_NEW_SESSION
|
||||
} xce_decision_op_t;
|
||||
|
||||
typedef struct {
|
||||
xce_decision_op_t op;
|
||||
union {
|
||||
xce_job_alloc_t* alloc;
|
||||
} u;
|
||||
} xce_decision_t;
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue