version 1.20, 2013/08/15 19:10:48
|
version 1.21.6.1, 2013/08/26 18:42:32
|
Line 401 sched_task_t *schedAlarm(sched_root_task_t * __restric
|
Line 401 sched_task_t *schedAlarm(sched_root_task_t * __restric
|
* @arg = 1st func argument |
* @arg = 1st func argument |
* @ts = timeout argument structure, minimum alarm timer resolution is 1msec! |
* @ts = timeout argument structure, minimum alarm timer resolution is 1msec! |
* @opt_data = Optional RTC ID |
* @opt_data = Optional RTC ID |
* @opt_dlen = Optional Signal No. | * @opt_dlen = Optional data length |
* return: NULL error or !=NULL new queued task |
* return: NULL error or !=NULL new queued task |
*/ |
*/ |
sched_task_t *schedRTC(sched_root_task_t * __restrict root, sched_task_func_t func, void *arg, |
sched_task_t *schedRTC(sched_root_task_t * __restrict root, sched_task_func_t func, void *arg, |
Line 654 sched_task_t *schedCallOnce(sched_root_task_t * __rest
|
Line 654 sched_task_t *schedCallOnce(sched_root_task_t * __rest
|
* @root = root task |
* @root = root task |
* @func = task execution function |
* @func = task execution function |
* @arg = 1st func argument |
* @arg = 1st func argument |
* @detach = Detach thread from scheduler, if !=0 |
|
* @ss = stack size |
* @ss = stack size |
* @opt_data = Optional data |
* @opt_data = Optional data |
* @opt_dlen = Optional data length |
* @opt_dlen = Optional data length |
* return: NULL error or !=NULL new queued task |
* return: NULL error or !=NULL new queued task |
*/ |
*/ |
sched_task_t *schedThread(sched_root_task_t * __restrict root, sched_task_func_t func, void *arg, |
sched_task_t *schedThread(sched_root_task_t * __restrict root, sched_task_func_t func, void *arg, |
int detach, size_t ss, void *opt_data, size_t opt_dlen); | size_t ss, void *opt_data, size_t opt_dlen); |
#define schedThreadSelf(x) schedThread(TASK_ROOT((x)), TASK_FUNC((x)), TASK_ARG((x)), \ |
#define schedThreadSelf(x) schedThread(TASK_ROOT((x)), TASK_FUNC((x)), TASK_ARG((x)), \ |
(TASK_FLAG((x)) & 0x1), (size_t) (TASK_FLAG((x)) >> 1), TASK_DATA((x)), TASK_DATLEN((x))) | (size_t) TASK_FLAG((x)), TASK_DATA((x)), TASK_DATLEN((x))) |
/* |
/* |
* sched_taskExit() - Exit routine for scheduler task, explicit required for thread tasks |
* sched_taskExit() - Exit routine for scheduler task, explicit required for thread tasks |
* |
* |