X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=sched.h;h=0363f0d1f4f79b89bc30078e600db4fc3b66898c;hb=968b72b29cf48bae18ecfccbc68b7c241d3d86f7;hp=8ed4cd126f73e87cfb2aefc5385856200eedbedd;hpb=148c7c722fd5795228f586b6ef8d953662b68224;p=paraslash.git diff --git a/sched.h b/sched.h index 8ed4cd12..0363f0d1 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]; @@ -27,3 +27,5 @@ void *register_task(struct task *t); void unregister_task(struct task *t); int sched(struct sched *s); void init_sched(void); +char *get_task_list(void); +int kill_task(char *id);