--- libaitsched/src/aitsched.c 2012/05/31 21:36:40 1.9.2.2 +++ libaitsched/src/aitsched.c 2012/05/31 21:48:01 1.9.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitsched.c,v 1.9.2.2 2012/05/31 21:36:40 misho Exp $ +* $Id: aitsched.c,v 1.9.2.3 2012/05/31 21:48:01 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -309,6 +309,10 @@ schedFetch(sched_root_task_t * __restrict root) int schedTrigger(sched_task_t * __restrict task) { +#ifndef EVFILT_USER + sched_SetErr(ENOTSUP, "Not supported kevent() filter"); + return -1; +#else struct kevent chg[1]; struct timespec timeout = { 0, 0 }; @@ -326,6 +330,7 @@ schedTrigger(sched_task_t * __restrict task) } return 0; +#endif } /*