X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.h;h=907e5fb7462ca744e9049dd39d5ed6afa5a8a5d6;hp=021474a21a5303d405d91b985a0a70de1d198801;hb=1995ceed8d70a5b50dbf84ca4132a8c318afa51b;hpb=24758c5f17064273786e704b84ceff56c234e347 diff --git a/sched.h b/sched.h index 021474a2..907e5fb7 100644 --- a/sched.h +++ b/sched.h @@ -60,6 +60,13 @@ struct task { * Evaluate and act upon the results of the previous select call. */ void (*post_select)(struct sched *s, struct task *t); + /** + * The newer variant of the post select hook of \a t. + * + * This hook must return the error code rather than store it in + * t->error. + */ + 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. */