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

Developer

API Reference

AEECLSID_SEMAPHORE

Brew Release
Brew MP 1.0.2
See Also
IEnv_CreateInstance()
Description

AEECLSID_Semaphore can be used to request a new ounting semaphore.
New semaphores are initialized to a count of 1. If a semaphore with a different initial value is needed, one can be constructed by calling V() on it until the desired counting value is reached, like this:
for (int i=0; i < count-1; i++) { ISemaphore_V(piSem); }
Default Interface Name