--- libaitsched/src/tasks.c 2012/09/10 15:07:53 1.15 +++ libaitsched/src/tasks.c 2013/05/26 20:14:02 1.15.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: tasks.c,v 1.15 2012/09/10 15:07:53 misho Exp $ +* $Id: tasks.c,v 1.15.2.1 2013/05/26 20:14:02 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 +Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -52,7 +52,7 @@ SUCH DAMAGE. * @root = root task * return: NULL error or !=NULL prepared task */ -inline sched_task_t * +sched_task_t * sched_useTask(sched_root_task_t * __restrict root) { sched_task_t *task, *tmp; @@ -89,7 +89,7 @@ sched_useTask(sched_root_task_t * __restrict root) * @task = task * return: always is NULL */ -inline sched_task_t * +sched_task_t * sched_unuseTask(sched_task_t * __restrict task) { TASK_UNLOCK(task); @@ -161,7 +161,7 @@ _sched_threadWrapper(sched_task_t *t) * @retcode = return code * return: return code */ -inline void * +void * sched_taskExit(sched_task_t *task, intptr_t retcode) { if (!task || !TASK_ROOT(task)) @@ -625,7 +625,7 @@ schedAIO(sched_root_task_t * __restrict root, sched_ta * @offset = Offset from start of file, if =-1 from current position * return: NULL error or !=NULL new queued task */ -inline sched_task_t * +sched_task_t * schedAIORead(sched_root_task_t * __restrict root, sched_task_func_t func, void *arg, int fd, void *buffer, size_t buflen, off_t offset) { @@ -679,7 +679,7 @@ schedAIORead(sched_root_task_t * __restrict root, sche * @offset = Offset from start of file, if =-1 from current position * return: NULL error or !=NULL new queued task */ -inline sched_task_t * +sched_task_t * schedAIOWrite(sched_root_task_t * __restrict root, sched_task_func_t func, void *arg, int fd, void *buffer, size_t buflen, off_t offset) { @@ -860,7 +860,7 @@ schedLIORead(sched_root_task_t * __restrict root, sche * @offset = Offset from start of file, if =-1 from current position * return: NULL error or !=NULL new queued task */ -inline sched_task_t * +sched_task_t * schedLIOWrite(sched_root_task_t * __restrict root, sched_task_func_t func, void *arg, int fd, struct iovec *bufs, size_t nbufs, off_t offset) {