comparison include/BeagleRT.h @ 256:3e93d9793da3 aux_task_args

Overload BeagleRT_createAuxiliaryTask so tasks can be created with or without arguments
author Liam Donovan <l.b.donovan@qmul.ac.uk>
date Fri, 06 May 2016 21:36:27 +0100
parents 173978a5ab6a
children 1606b50a58c6
comparison
equal deleted inserted replaced
254:173978a5ab6a 256:3e93d9793da3
578 * \param functionToCall Function which will run each time the auxiliary task is scheduled. 578 * \param functionToCall Function which will run each time the auxiliary task is scheduled.
579 * \param priority Xenomai priority level at which the task should run. 579 * \param priority Xenomai priority level at which the task should run.
580 * \param name Name for this task, which should be unique system-wide (no other running program should use this name). 580 * \param name Name for this task, which should be unique system-wide (no other running program should use this name).
581 */ 581 */
582 AuxiliaryTask BeagleRT_createAuxiliaryTask(void (*functionToCall)(void*), int priority, const char *name, void* args); 582 AuxiliaryTask BeagleRT_createAuxiliaryTask(void (*functionToCall)(void*), int priority, const char *name, void* args);
583 AuxiliaryTask BeagleRT_createAuxiliaryTask(void (*functionToCall)(void), int priority, const char *name)
583 584
584 /** 585 /**
585 * \brief Start an auxiliary task so that it can be run. 586 * \brief Start an auxiliary task so that it can be run.
586 * 587 *
587 * This function will start an auxiliary task but will NOT schedule it. 588 * This function will start an auxiliary task but will NOT schedule it.