2 struct timeval now, timeout;
6 struct timeval default_timeout;
13 void (*pre_select)(struct sched *s, struct task *t);
14 void (*post_select)(struct sched *s, struct task *t);
15 void (*error_handler)(struct task *t);
16 struct list_head pre_select_node;
17 struct list_head post_select_node;
25 POST_EOF_IS_ERROR = 8,
28 void *register_task(struct task *t);
29 void unregister_task(struct task *t);
30 int sched(struct sched *s);
31 void init_sched(void);