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
;
26 void *register_task(struct task
*t
);
27 void unregister_task(struct task
*t
);
28 int sched(struct sched
*s
);
29 void init_sched(void);