2 struct timeval now, timeout;
6 struct timeval default_timeout;
12 void (*pre_select)(struct sched *s, struct task *t);
13 void (*post_select)(struct sched *s, struct task *t);
14 void (*event_handler)(struct task *t);
15 struct list_head pre_select_node;
16 struct list_head post_select_node;
20 extern struct timeval *now;
22 void *register_task(struct task *t);
23 void unregister_task(struct task *t);
24 int sched(struct sched *s);
25 void init_sched(void);
26 char *get_task_list(void);
27 int kill_task(char *id);