![]() |
Morse Micro IoT SDK
2.9.7
|
Provides the "main" function that runs the operating system scheduler.
Typedefs | |
| typedef void(* | mmosal_app_init_cb_t) (void) |
| Application initialization callback (see mmosal_main for details). More... | |
Functions | |
| int | mmosal_main (mmosal_app_init_cb_t app_init_cb) |
| OS main function. More... | |
| typedef void(* mmosal_app_init_cb_t) (void) |
Application initialization callback (see mmosal_main for details).
| int mmosal_main | ( | mmosal_app_init_cb_t | app_init_cb | ) |
OS main function.
This should be invoked after early initialization. If further initialization is required after the scheduler is started an optional app_init_cb argument can be provided and the given function with be executed in a thread that will subsequently be destroyed if it returns.
| app_init_cb | Application initialization callback that will be invoked after the scheduler has been started. This optional (may be NULL). If specified, the function will run in its own thread and may or may not return. |
Definition at line 20 of file mmosal_shim_bootloader.c.