#include <IArchSleep.h>
Inherits IInterface.
Inherited by CArch, CArchSleepUnix, and CArchSleepWindows.
Inheritance diagram for IArchSleep:
Public Member Functions | |
manipulators | |
virtual void | sleep (double timeout)=0 |
Sleep. |
This interface defines the sleep operations required by synergy. Each architecture must implement this interface.
Definition at line 25 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 CArch, CArchSleepUnix, and CArchSleepWindows.
Referenced by CArch::sleep().