Mercurial > hg > beaglert
comparison include/BeagleRT.h @ 254:173978a5ab6a aux_task_args
Allow arguments to be passed to aux task function
author | Liam Donovan <l.b.donovan@qmul.ac.uk> |
---|---|
date | Tue, 03 May 2016 11:04:56 +0100 |
parents | 048b7a4dc841 |
children | 3e93d9793da3 |
comparison
equal
deleted
inserted
replaced
251:cbf70fe3711b | 254:173978a5ab6a |
---|---|
577 * | 577 * |
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); | 582 AuxiliaryTask BeagleRT_createAuxiliaryTask(void (*functionToCall)(void*), int priority, const char *name, void* args); |
583 | 583 |
584 /** | 584 /** |
585 * \brief Start an auxiliary task so that it can be run. | 585 * \brief Start an auxiliary task so that it can be run. |
586 * | 586 * |
587 * This function will start an auxiliary task but will NOT schedule it. | 587 * This function will start an auxiliary task but will NOT schedule it. |