*/
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. */