diff options
Diffstat (limited to 'apps/systemlib/systemlib.h')
-rw-r--r-- | apps/systemlib/systemlib.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/systemlib/systemlib.h b/apps/systemlib/systemlib.h index add47f440..da1524435 100644 --- a/apps/systemlib/systemlib.h +++ b/apps/systemlib/systemlib.h @@ -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, |