#include <pthread_semaphore.hpp>
Public Member Functions | |
flx_semaphore_t (int n=0) | |
void | post () |
void | operator++ () |
void | wait () |
void | operator-- () |
int | get () |
int | operator * () |
int | trywait () |
int flx::pthread::flx_semaphore_t::trywait | ( | ) |
atomic test and decrement if non-zero function. returns EAGAIN on failure to decrement.