unixstl/synch/semaphore.hpp File Reference


Detailed Description

[C++ only] Definition of unixstl::semaphore class (Synchronisation Library).

#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.


Generated on Thu Jun 10 08:58:00 2010 for STLSoft by  doxygen 1.5.6