API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ISEMAPHORE_P()

Brew Release
Brew MP 1.0.2
Description

"Acquire" the semaphore. ISemaphore_P() waits until the value of the semaphore is non-zero, and returns after decrementing the count.
Note that ISemaphore_P() is a blocking call. If the value of the semaphore is zero, the calling thread will be blocked until some other thread calls ISemaphore_V() to increment the count.
Params
pif
[]:
Pointer to an ISemaphore interface
Interface
Prototype
  •    AEEResult ISemaphore_P(ISemaphore* pif);
    
Return
  • Always return AEE_SUCCESS
Side Effect
  • None