version 1.21.4.1, 2013/08/26 14:29:20
|
version 1.24, 2013/11/14 21:37:27
|
Line 629 sched_hook_fetch(void *root, void *arg __unused)
|
Line 629 sched_hook_fetch(void *root, void *arg __unused)
|
return NULL; |
return NULL; |
} else if (errno != EINTR) |
} else if (errno != EINTR) |
LOGERR; |
LOGERR; |
return NULL; | goto skip_event; |
} |
} |
|
|
|
/* kevent dispatcher */ |
now.tv_sec = now.tv_nsec = 0; |
now.tv_sec = now.tv_nsec = 0; |
/* Go and catch the cat into pipes ... */ |
/* Go and catch the cat into pipes ... */ |
for (i = 0; i < en; i++) { |
for (i = 0; i < en; i++) { |
Line 1003 sched_hook_fetch(void *root, void *arg __unused)
|
Line 1004 sched_hook_fetch(void *root, void *arg __unused)
|
} else |
} else |
LOGERR; |
LOGERR; |
} |
} |
} | } /* end of kevent dispatcher */ |
|
|
|
skip_event: |
/* timer update & put in ready queue */ |
/* timer update & put in ready queue */ |
clock_gettime(CLOCK_MONOTONIC, &now); |
clock_gettime(CLOCK_MONOTONIC, &now); |
|
|
Line 1182 sched_hook_rtc(void *task, void *arg __unused)
|
Line 1184 sched_hook_rtc(void *task, void *arg __unused)
|
timer_delete(tmr); |
timer_delete(tmr); |
return (void*) -1; |
return (void*) -1; |
} |
} |
|
|
if (!TASK_ISLOCKED(t)) |
|
TASK_LOCK(t); |
|
|
|
return NULL; |
return NULL; |
} |
} |