Functions | |
| bool | lock (const char *desc, sem_t &s, const ACS::TimeInterval &to, bool logTimeout=false) |
| bool | post (const char *desc, sem_t &s) |
Semaphore functions.
| bool AcsBulkdata::Pthread::Semaphore::lock | ( | const char * | desc, | |
| sem_t & | s, | |||
| const ACS::TimeInterval & | to, | |||
| bool | logTimeout = false | |||
| ) |
Helper class to wait with timeout on a posix semaphore.
| bool AcsBulkdata::Pthread::Semaphore::post | ( | const char * | desc, | |
| sem_t & | s | |||
| ) |
Helper function to give a posix semaphore. If this function fails (return false) means that something major has broken down.
1.7.0