version 1.22.2.1, 2013/11/21 14:38:30
|
version 1.25, 2014/04/27 16:20:37
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 | Copyright 2004 - 2014 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 102 schedRegisterHooks(sched_root_task_t * __restrict root
|
Line 102 schedRegisterHooks(sched_root_task_t * __restrict root
|
root->root_hooks.hook_add.read = sched_hook_read; |
root->root_hooks.hook_add.read = sched_hook_read; |
root->root_hooks.hook_add.write = sched_hook_write; |
root->root_hooks.hook_add.write = sched_hook_write; |
root->root_hooks.hook_add.alarm = sched_hook_alarm; |
root->root_hooks.hook_add.alarm = sched_hook_alarm; |
#if defined(HAVE_TIMER_CREATE) && defined(HAVE_TIMER_SETTIME) | #if defined(HAVE_TIMER_CREATE) && defined(HAVE_TIMER_SETTIME) && defined(HAVE_TIMER_DELETE) |
root->root_hooks.hook_add.rtc = sched_hook_rtc; |
root->root_hooks.hook_add.rtc = sched_hook_rtc; |
#endif |
#endif |
root->root_hooks.hook_add.node = sched_hook_node; |
root->root_hooks.hook_add.node = sched_hook_node; |
Line 335 schedFetch(sched_root_task_t * __restrict root)
|
Line 335 schedFetch(sched_root_task_t * __restrict root)
|
int |
int |
schedTrigger(sched_task_t * __restrict task) |
schedTrigger(sched_task_t * __restrict task) |
{ |
{ |
|
#ifdef KQ_DISABLE |
|
sched_SetErr(ENOTSUP, "disabled kqueue support"); |
|
return -1; |
|
#else |
#ifndef EVFILT_USER |
#ifndef EVFILT_USER |
sched_SetErr(ENOTSUP, "Not supported kevent() filter"); |
sched_SetErr(ENOTSUP, "Not supported kevent() filter"); |
return -1; |
return -1; |
Line 357 schedTrigger(sched_task_t * __restrict task)
|
Line 361 schedTrigger(sched_task_t * __restrict task)
|
|
|
return 0; |
return 0; |
#endif |
#endif |
|
#endif /* KQ_DISABLE */ |
} |
} |
|
|
/* |
/* |