#include <unixstl/unixstl.h>
#include <stlsoft/synch/concepts.hpp>
#include <unixstl/synch/error/exceptions.hpp>
#include <errno.h>
#include <semaphore.h>
Go to the source code of this file.
Namespaces | |
namespace | unixstl |
Classes | |
class | semaphore |
This class acts as an semaphore based on the POSIX semaphore object. More... | |
struct | semaphore_lock_traits |
Traits for the semaphore class. More... | |
Functions | |
void | lock_instance (unixstl_ns_qual(semaphore)&sem) |
This control shim aquires a lock on the given semaphore. | |
void | unlock_instance (unixstl_ns_qual(semaphore)&sem) |
This control shim releases a lock on the given semaphore. |