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

Function ssleep

components/libc/posix/delay/delay.c:31–34  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

29 * @param seconds The number of seconds to sleep.
30 */
31void ssleep(unsigned int seconds)
32{
33 msleep(seconds * 1000);
34}
35RTM_EXPORT(ssleep);
36
37/**

Callers 1

sleepFunction · 0.85

Calls 1

msleepFunction · 0.70

Tested by

no test coverage detected