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

Manages a simple thread. More...

#include <thread.h>

Inherits noncopyable.

List of all members.

Public Member Functions

 thread ()
 Default constructor.
template<class Callable >
 thread (const Callable &callable)
 Constructs a thread. Throws a runtime_error on failure.
 ~thread ()
 Destructor.
void detach ()
 Detaches the managed thread from this thread object.
LEAN_INLINE bool joinable () const
 Checks if this thread is valid.
void join ()
 Waits for the managed thread to exit.
LEAN_INLINE HANDLE native_handle () const
 Gets the native handle.

Detailed Description

Manages a simple thread.


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