Interface for architecture dependent sleeping. More...
#include <IArchSleep.h>
Inherits IInterface.
Inherited by CArchSleepUnix, and CArchSleepWindows.
Public Member Functions | |
manipulators | |
| virtual void | sleep (double timeout)=0 |
| Sleep. | |
Interface for architecture dependent sleeping.
This interface defines the sleep operations required by synergy. Each architecture must implement this interface.
Definition at line 29 of file IArchSleep.h.
| virtual void IArchSleep::sleep | ( | double | timeout | ) | [pure virtual] |
Sleep.
Blocks the calling thread for timeout seconds. If timeout < 0.0 then the call returns immediately. If timeout == 0.0 then the calling thread yields the CPU.
(cancellation point)
Implemented in CArchSleepUnix, and CArchSleepWindows.
1.7.1