0.3.0
Loading...
Searching...
No Matches
NAV::Sleep Namespace Reference

Functions

void countDownSeconds (size_t seconds)
 Wait the thread till time passes.
 
void waitForSignal (bool showText=false)
 Wait the thread till sigusr signal is send.
 

Function Documentation

◆ countDownSeconds()

void NAV::Sleep::countDownSeconds ( size_t seconds)

Wait the thread till time passes.

Parameters
[in]secondsTime to sleep in seconds

Definition at line 86 of file Sleep.cpp.

◆ waitForSignal()

void NAV::Sleep::waitForSignal ( bool showText = false)

Wait the thread till sigusr signal is send.

Definition at line 59 of file Sleep.cpp.