X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.h;h=9855475d0a7311708306417a77fca071d238ef4c;hp=3de5e1cc9ef89f39ed02588d55270c918d097476;hb=899a19c03fc05f6fd98687e3eaa86841a4633a10;hpb=2290d9be0703d3f83f38c2f100b1b41ec0790bb3 diff --git a/sched.h b/sched.h index 3de5e1cc..9855475d 100644 --- a/sched.h +++ b/sched.h @@ -12,7 +12,7 @@ struct task { int ret; void (*pre_select)(struct sched *s, struct task *t); void (*post_select)(struct sched *s, struct task *t); - void (*error_handler)(struct task *t); + void (*event_handler)(struct task *t); struct list_head pre_select_node; struct list_head post_select_node; char status[MAXLINE]; @@ -21,8 +21,6 @@ struct task { enum task_flags { PRE_ADD_TAIL = 1, POST_ADD_TAIL = 2, - PRE_EOF_IS_ERROR = 4, - POST_EOF_IS_ERROR = 8, }; void *register_task(struct task *t);