X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=sched.h;h=db6ee7dc3a21a6a87037a3bad331d4ae081e271a;hb=5254df7e470dc49a29f91fa8185b98c40246f5ea;hp=fd714b618b681720b4ee187401f57d39fbd001f7;hpb=8bf35b38357c3ce59f52ae87f6e84e4b6d183ac7;p=paraslash.git diff --git a/sched.h b/sched.h index fd714b61..db6ee7dc 100644 --- a/sched.h +++ b/sched.h @@ -53,8 +53,6 @@ struct task { char status[255]; /** If less than zero, the task was notified by another task. */ int notification; - /** Whether the task structure should be freed in sched_shutdown(). */ - bool owned_by_sched; /** True if task is in error state and exit status has been queried. */ bool dead; /** Usually a pointer to the struct containing this task. */ @@ -99,7 +97,6 @@ extern struct timeval *now; struct task *task_register(struct task_info *info, struct sched *s); void *task_context(struct task *t); -void register_task(struct sched *s, struct task *t); int schedule(struct sched *s); void sched_shutdown(struct sched *s); char *get_task_list(struct sched *s);