Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Scoped Threads

Motivation
Tutorial
Free Thread Functors
Functor detach
Functor join_if_joinable
Functor interrupt_and_join_if_joinable
Class strict_scoped_thread
Constructor from a thread
Move Constructor from a Callable
Destructor
Class scoped_thread
Default Constructor
Move Constructor
Move assignment operator
Move Constructor from a thread
Move Constructor from a Callable
Destructor
Member function joinable()
Member function join()
Member function try_join_for()
Member function try_join_until()
Member function detach()
Member function get_id()
Member function interrupt()
Static member function hardware_concurrency()
Static member function physical_concurrency()
Member function native_handle()
Member function swap()
Non-member function swap(scoped_thread&,scoped_thread&)

Synopsis

//#include <boost/thread/scoped_thread.hpp>

struct detach;
struct join_if_joinable;
struct interrupt_and_join_if_joinable;
template <class CallableThread = join_if_joinable>
class strict_scoped_thread;
template <class CallableThread = join_if_joinable>
class scoped_thread;
void swap(scoped_thread& lhs,scoped_thread& rhs) noexcept;

PrevUpHomeNext