AcsBulkdata::Pthread::Semaphore

NAME
SYNOPSIS
Detailed Description
Function Documentation
Author

NAME

AcsBulkdata::Pthread::Semaphore −

SYNOPSIS

Functions

bool lock (const char *desc, sem_t &s, const ACS::TimeInterval &to, bool logTimeout=false)

bool post (const char *desc, sem_t &s)

Detailed Description

Semaphore functions.

Function Documentation

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.

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.