X2 Standard
Version 1.24
|
The SleeperInterface is a cross-platform "sleeper". More...
#include <sleeperinterface.h>
Public Member Functions | |
virtual void | sleep (const int &milliSecondsToSleep)=0 |
The SleeperInterface is a cross-platform "sleeper".
The SleeperInterface provides X2 implementors an operating system agnostic way to enter an efficient sleep state. Tested and works on Windows, Mac, Ubuntu Linux.
|
pure virtual |
Enter an efficient wait state for n milliseconds