If the count of this semaphore is positive, reduce the count to 0 and return the original value of the count. Otherwise, do nothing and return 0.

Synopsis

Declared in <bslmt_fastpostsemaphore.h>

int
takeAll();

Created with MrDocs