Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Misc
[OS abstraction layer]
Functions | |
void | sys_msleep (u32_t ms) |
Sleep for specified number of ms. | |
sys_thread_t | sys_thread_new (const char *name, lwip_thread_fn thread, void *arg, int stacksize, int prio) |
The only thread function: Creates a new thread ATTENTION: although this function returns a value, it MUST NOT FAIL (ports have to assert this!) |
Function Documentation
void sys_msleep | ( | u32_t | ms ) |
Sleep for specified number of ms.
Sleep for specified number of ms.
Timeouts are NOT processed while sleeping.
- Parameters:
-
ms number of milliseconds to sleep
Definition at line 93 of file lwip_sys.c.
sys_thread_t sys_thread_new | ( | const char * | name, |
lwip_thread_fn | thread, | ||
void * | arg, | ||
int | stacksize, | ||
int | prio | ||
) |
The only thread function: Creates a new thread ATTENTION: although this function returns a value, it MUST NOT FAIL (ports have to assert this!)
- Parameters:
-
name human-readable name for the thread (used for debugging purposes) thread thread-function arg parameter passed to 'thread' stacksize stack size in bytes for the new thread (may be ignored by ports) prio priority of the new thread (may be ignored by ports)
Generated on Tue Jul 12 2022 18:19:00 by
