fix pkt size problem and fmt_jobid
This commit is contained in:
parent
088afe4ea0
commit
4034fd7556
15 changed files with 130 additions and 64 deletions
|
|
@ -357,6 +357,12 @@ typedef struct {
|
|||
#define QUEUE_STAT_FAIRSHARE_DEFAULT \
|
||||
0x20 /**< Fairshare queue with null user share defined*/
|
||||
|
||||
/* FIXME: improve following later */
|
||||
#define JOB_IS_PEND(j) ((j->state & JOB_STAT_PEND) != 0)
|
||||
#define JOB_IS_RUN(j) ((j->state & JOB_STAT_RUN) != 0)
|
||||
#define JOB_IS_EXIT(j) ((j->state & JOB_STAT_EXIT) != 0)
|
||||
#define JOB_IS_DONE(j) ((j->state & JOB_STAT_DONE) != 0)
|
||||
|
||||
typedef enum {
|
||||
NORMAL = 0,
|
||||
TTY,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue