MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / msleep

Function msleep

components/libc/posix/delay/delay.c:20–23  ·  view source on GitHub ↗

* @brief Delays the execution of the current thread for the specified number of milliseconds. * * @param msecs The number of milliseconds to sleep. */

Source from the content-addressed store, hash-verified

18 * @param msecs The number of milliseconds to sleep.
19 */
20void msleep(unsigned int msecs)
21{
22 rt_thread_mdelay(msecs);
23}
24RTM_EXPORT(msleep);
25
26/**

Callers 2

ssleepFunction · 0.70
usleepFunction · 0.70

Calls 1

rt_thread_mdelayFunction · 0.85

Tested by

no test coverage detected