X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=sched.h;h=da20e3039c3572144486d8c2aefd54815ae314e2;hb=74c88020bd325865fe26ed25ea8ad0ace0924136;hp=021474a21a5303d405d91b985a0a70de1d198801;hpb=24758c5f17064273786e704b84ceff56c234e347;p=paraslash.git diff --git a/sched.h b/sched.h index 021474a2..da20e303 100644 --- a/sched.h +++ b/sched.h @@ -55,11 +55,12 @@ struct task { */ void (*pre_select)(struct sched *s, struct task *t); /** - * The postselect hook of \a t. + * The newer variant of the post select hook of \a t. * - * Evaluate and act upon the results of the previous select call. + * This hook must return the error code rather than store it in + * t->error. */ - void (*post_select)(struct sched *s, struct task *t); + int (*new_post_select)(struct sched *s, struct task *t); /** Whether this task is in error state. */ int error; /** Position of the task in the pre_select list of the scheduler. */