--- libaitsched/inc/aitsched.h 2013/05/26 20:14:02 1.17.2.1 +++ libaitsched/inc/aitsched.h 2013/08/15 15:05:49 1.19.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitsched.h,v 1.17.2.1 2013/05/26 20:14:02 misho Exp $ +* $Id: aitsched.h,v 1.19.2.1 2013/08/15 15:05:49 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -381,7 +381,7 @@ sched_task_t *schedWrite(sched_root_task_t * __restric * @func = task execution function * @arg = 1st func argument * @ts = timeout argument structure, minimum alarm timer resolution is 1msec! - * @opt_data = Optional data + * @opt_data = Alarm timer ID * @opt_dlen = Optional data length * return: NULL error or !=NULL new queued task */ @@ -557,8 +557,6 @@ int schedTrigger(sched_task_t * __restrict task); */ sched_task_t *schedTimer(sched_root_task_t * __restrict root, sched_task_func_t func, void *arg, struct timespec ts, void *opt_data, size_t opt_dlen); -#define schedTimerSelf(x) schedTimer(TASK_ROOT((x)), TASK_FUNC((x)), TASK_ARG((x)), \ - TASK_TS((x)), TASK_DATA((x)), TASK_DATLEN((x))) /* * schedEvent() - Add EVENT task to scheduler queue *