Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

void PThread::Sleep ( const PTimeInterval delay  )  [static, inherited]

Suspend the current thread for the specified amount of time.

Parameters:
delay  Time interval to sleep for.

Definition at line 181 of file ptlib.inl.

References PTimeInterval::GetInterval().

Referenced by PVideoInputDevice_FakeVideo::GetFrameData(), PVideoInputDevice_1394DC::GetFrameData(), PVideoInputDevice_1394AVC::GetFrameData(), DelayThread::Main(), PSafeCollection::RemoveAll(), PChannel::SendCommandString(), PServiceProcess::Terminate(), and PThread::Yield().

  { ::Sleep(delay.GetInterval()); }


Generated by  Doxygen 1.6.0   Back to index