DUDS
Distributed Update of Data from Something
YieldingWait.hpp File Reference
#include <thread>
#include <chrono>
Include dependency graph for YieldingWait.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 duds
 
 duds::general
 General use library code that isn't actually specific to the DUDS family of libraries, but were developed along with DUDS.
 

Functions

template<class Duration >
void duds::general::YieldingWait (Duration duration)
 Waits for a minumum period of time by calling std::this_thread::yield() in a loop. More...
 
void duds::general::YieldingWait (int nano)
 Waits for a minumum period of time in nanoseconds by calling std::this_thread::yield() in a loop. More...