lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Public Member Functions
lean::concurrent::event Class Reference

Implements an event. More...

#include <event.h>

Inherits noncopyable.

List of all members.

Public Member Functions

 event (bool signaled=false)
 Constructs a critical section. Throws a runtime_error on failure.
 ~event ()
 Destructor.
LEAN_INLINE void wait ()
 Waits for the next event notification.
LEAN_INLINE void set ()
 Sets the event state to signaled.
LEAN_INLINE void reset ()
 Resets the event state to non-signaled.
LEAN_INLINE void signaled (bool signaled)
 Sets the event state.
LEAN_INLINE HANDLE native_handle () const
 Gets the native handle.

Detailed Description

Implements an event.


The documentation for this class was generated from the following file: