Assertion: semaphore | /r/HasProperty | obtained
Facets:
Source sentences:
text: Returns: pdTRUE if the semaphore was obtained.
text: Few device or intermediate drivers have a single driver-created thread; even fewer have a set of threads that might wait for a semaphore to be acquired or released.
text: as an unsigned one of the most important synchronization primitives, because you can build many other Decrementing the semaphore is called acquiring or locking it, incrementing is called releasing or unlocking.
text: There also exists down_interruptible() , which returns 0 if the semaphore is obtained and –EINTR if the process was interrupted while blocking.