Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6INamedSemaphore::wait ( void  )
pure virtual

Attempts to lock the semaphore.

If the semaphores value is greater than zero, then this method will decrement the semaphore's value and immediately return. If the value of the semaphore is zero, then the call blocks until it becomes possible to perform the decrement (the semaphore's value becomes greater than zero).