--- libaitsched/inc/aitsched.h 2014/04/27 16:20:37 1.26 +++ libaitsched/inc/aitsched.h 2014/06/05 22:37:29 1.27 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitsched.h,v 1.26 2014/04/27 16:20:37 misho Exp $ +* $Id: aitsched.h,v 1.27 2014/06/05 22:37:29 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -219,7 +219,7 @@ struct sched_RootTask { struct timespec root_wait; struct timespec root_poll; unsigned long root_miss; - intptr_t root_cond; + intptr_t root_cond[1]; void *root_ret; pthread_mutex_t root_mtx[taskMAX]; @@ -309,7 +309,7 @@ int schedPolling(sched_root_task_t * __restrict root, * @condValue = condition value, kill schedRun() if condValue == killState * return: -1 error or 0 ok */ -int schedTermCondition(sched_root_task_t * __restrict root, intptr_t condValue); +int schedTermCondition(sched_root_task_t * __restrict root, intptr_t * __restrict condValue); /* * schedCall() - Call task execution function *