winstl/synch/semaphore.hpp File Reference


Detailed Description

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

#include <winstl/winstl.h>
#include <stlsoft/synch/concepts.hpp>
#include <winstl/synch/error/exceptions.hpp>

Go to the source code of this file.

Namespaces

namespace  winstl

Classes

class  semaphore
 This class acts as an semaphore based on the Win32 kernel semaphore object. More...
struct  semaphore_lock_traits
 Traits for the semaphore class. More...

Functions

HANDLE get_synch_handle (semaphore &sem)
 Overload of the form of the winstl::get_synch_handle() shim for the winstl::semaphore type.
HANDLE get_kernel_handle (semaphore &sem)
 Overload of the form of the winstl::get_kernel_handle() shim for the winstl::semaphore type.
void lock_instance (winstl_ns_qual(semaphore)&sem)
 This control shim aquires a lock on the given semaphore.
void unlock_instance (winstl_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