Midnight Sun Firmware
Loading...
Searching...
No Matches
ThreadHelpers

Thread helper/management library. More...

Functions

void thread_sleep_s (unsigned int seconds)
 Sleep the current Linux pthread with the specified seconds. More...
 
void thread_sleep_ms (unsigned int milliseconds)
 Sleep the current Linux pthread with the specified milliseconds. More...
 

Detailed Description

Thread helper/management library.

Function Documentation

◆ thread_sleep_ms()

void thread_sleep_ms ( unsigned int  milliseconds)

Sleep the current Linux pthread with the specified milliseconds.

Parameters
millisecondsMilliseconds to block the current thread

◆ thread_sleep_s()

void thread_sleep_s ( unsigned int  seconds)

Sleep the current Linux pthread with the specified seconds.

Parameters
secondsSeconds to block the current thread