--- libaitsched/inc/hooks.h 2011/12/08 08:02:23 1.2 +++ libaitsched/inc/hooks.h 2012/03/13 10:01:59 1.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: hooks.h,v 1.2 2011/12/08 08:02:23 misho Exp $ +* $Id: hooks.h,v 1.3 2012/03/13 10:01:59 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -110,6 +110,15 @@ void *sched_hook_write(void *task, void *arg __unused) * return: <0 errors and 0 ok */ void *sched_hook_exception(void *root, void *arg); + +/* + * sched_hook_condition() - Default CONDITION hook + * + * @root = root task + * @arg = killState from schedRun() + * return: NULL kill scheduler loop or !=NULL ok + */ +void *sched_hook_condition(void *root, void *arg); #endif