--- libaitsched/inc/aitsched.h 2012/07/24 14:06:10 1.11 +++ libaitsched/inc/aitsched.h 2012/07/30 00:20:26 1.11.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitsched.h,v 1.11 2012/07/24 14:06:10 misho Exp $ +* $Id: aitsched.h,v 1.11.2.1 2012/07/30 00:20:26 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -190,6 +190,7 @@ struct sched_RootTask { struct timespec root_wait; struct timespec root_poll; intptr_t root_cond; + void *root_ret; pthread_mutex_t root_mtx[taskMAX]; @@ -214,6 +215,7 @@ struct sched_RootTask { #define ROOT_DATLEN(x) (x)->root_data.iov_len }; #define ROOT_QUEUE_EMPTY(x, _q) TAILQ_EMPTY(&((x)->root_##_q)) +#define ROOT_RETURN(x) (x)->root_ret inline int sched_GetErrno();