--- libaitsched/inc/aitsched.h 2013/11/21 14:31:14 1.23.4.1 +++ libaitsched/inc/aitsched.h 2014/01/27 15:01:52 1.24.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitsched.h,v 1.23.4.1 2013/11/21 14:31:14 misho Exp $ +* $Id: aitsched.h,v 1.24.2.1 2014/01/27 15:01:52 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -49,7 +49,9 @@ SUCH DAMAGE. #include #include +#ifndef KQ_DISABLE #include +#endif #include #include #include @@ -211,6 +213,7 @@ typedef TAILQ_HEAD(, sched_Task) sched_queue_t; /* root task */ struct sched_RootTask { int root_kq; + fd_set root_fds; unsigned long root_miss; struct timespec root_wait; struct timespec root_poll; @@ -648,7 +651,7 @@ sched_task_t *schedSuspend(sched_root_task_t * __restr * * @root = root task * @criteria = find task by criteria - * [ CRITERIA_ANY|CRITERIA_ID|CRITERIA_DATA ] + * [ CRITERIA_ANY|CRITERIA_ID|CRITERIA_VAL|CRITERIA_DATA ] * @param = search parameter (sched_task_t *task| unsigned long id) * return: -1 error or 0 resumed ok */