Add new 'task_spawn' interface for starting new tasks in the PX4 world

This commit is contained in:
px4dev
2012-10-01 00:02:38 -07:00
parent 6005077d54
commit 93c200d281
14 changed files with 130 additions and 24 deletions
+8
View File
@@ -50,6 +50,14 @@ __EXPORT int reboot(void);
/** Sends SIGUSR1 to all processes */
__EXPORT void killall(void);
/** Starts a task and performs any specific accounting, scheduler setup, etc. */
__EXPORT int task_spawn(const char *name,
int priority,
int scheduler,
int stack_size,
main_t entry,
const char *argv[]);
enum MULT_PORTS {
MULT_0_US2_RXTX = 0,
MULT_1_US2_FLOW,