version 1.27.2.6, 2014/06/03 20:39:54
|
version 1.27.2.7, 2014/06/03 20:42:48
|
Line 1233 sched_hook_fetch(void *root, void *arg __unused)
|
Line 1233 sched_hook_fetch(void *root, void *arg __unused)
|
sched_task_t *task, *tmp; |
sched_task_t *task, *tmp; |
struct timespec now, m, mtmp; |
struct timespec now, m, mtmp; |
#if SUP_ENABLE == KQ_SUPPORT |
#if SUP_ENABLE == KQ_SUPPORT |
struct kevent evt[1], res[KQ_EVENTS]; | struct kevent res[KQ_EVENTS]; |
struct timespec *timeout; |
struct timespec *timeout; |
#elif SUP_ENABLE == EP_SUPPORT |
#elif SUP_ENABLE == EP_SUPPORT |
struct epoll_event res[KQ_EVENTS]; |
struct epoll_event res[KQ_EVENTS]; |