--- libaitsched/inc/defs.h 2012/07/22 21:49:53 1.6.6.1 +++ libaitsched/inc/defs.h 2013/08/26 08:20:55 1.11 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: defs.h,v 1.6.6.1 2012/07/22 21:49:53 misho Exp $ +* $Id: defs.h,v 1.11 2013/08/26 08:20:55 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -51,9 +51,12 @@ SUCH DAMAGE. #define STRSIZ 256 #endif +#ifndef KQ_EVENTS #define KQ_EVENTS 32 -#define MAX_EVENTLO_MISS 48 +#endif +#define MAX_TASK_MISS 12 + #define LOGERR { \ sched_Errno = errno; \ strlcpy(sched_Error, strerror(errno), STRSIZ); \ @@ -92,8 +95,8 @@ extern char sched_Error[]; inline void sched_SetErr(int, char *, ...); -inline sched_task_t *_sched_useTask(sched_root_task_t * __restrict root); -inline sched_task_t *_sched_unuseTask(sched_task_t * __restrict task); +void *_sched_threadWrapper(sched_task_t *); +void *_sched_rtcWrapper(sched_task_t *); #endif