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:
delayTime 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(), TimingTest::Main(), MyThread2::Main(), MyThread1::Main(), Serial::Main(), DelayThread::Main(), Test5Thread::Main(), PSafeCollection::RemoveAll(), PChannel::SendCommandString(), PServiceProcess::Terminate(), and PThread::Yield().

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

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index