--- libaitsched/inc/hooks.h 2011/08/05 15:52:00 1.1 +++ libaitsched/inc/hooks.h 2011/12/08 08:02:23 1.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: hooks.h,v 1.1 2011/08/05 15:52:00 misho Exp $ +* $Id: hooks.h,v 1.2 2011/12/08 08:02:23 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -102,6 +102,14 @@ void *sched_hook_read(void *task, void *arg __unused); * return: <0 errors and 0 ok */ void *sched_hook_write(void *task, void *arg __unused); + +/* + * sched_hook_exception() - Default EXCEPTION hook + * @root = root task + * @arg = custom handling: if arg == EV_EOF or other value; default: arg == NULL log errno + * return: <0 errors and 0 ok + */ +void *sched_hook_exception(void *root, void *arg); #endif