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

void PSemaphore::Wait (  )  [virtual, inherited]

If the semaphore count is > 0, decrement the semaphore and return. If if is = 0 then wait (block).

Definition at line 1840 of file win32.cxx.

Referenced by PVideoInputDevice_VideoForWindows::GetFrameDataNoDelay(), PVideoOutputDevice_Window::Open(), PVideoInputDevice_VideoForWindows::Open(), PQueueChannel::Read(), Signal(), PReadWriteMutex::StartWrite(), PVideoInputDevice_VideoForWindows::Stop(), PCondMutex::WaitCondition(), PSemaphore::WillBlock(), and PQueueChannel::Write().

  PAssertOS(WaitForSingleObject(handle, INFINITE) != WAIT_FAILED);

Generated by  Doxygen 1.6.0   Back to index