#include <tbb_thread.h>
Public Types | |
typedef pthread_t | native_handle_type |
Public Member Functions | |
tbb_thread_v3 () | |
Constructs a thread object that does not represent a thread of execution. | |
template<class F> | |
tbb_thread_v3 (F f) | |
Constructs an object and executes f() in a new thread. | |
template<class F, class X> | |
tbb_thread_v3 (F f, X x) | |
Constructs an object and executes f(x) in a new thread. | |
template<class F, class X, class Y> | |
tbb_thread_v3 (F f, X x, Y y) | |
Constructs an object and executes f(x,y) in a new thread. | |
bool | joinable () const |
void | join () |
The completion of the thread represented by *this happens before join() returns. | |
void | detach () |
When detach() returns, *this no longer represents the possibly continuing thread of execution. | |
id | get_id () const |
native_handle_type | native_handle () |
Static Public Member Functions | |
unsigned | hardware_concurrency () |
The number of hardware thread contexts. | |
Friends | |
void | move_v3 (tbb_thread_v3 &t1, tbb_thread_v3 &t2) |
void | tbb::swap (tbb_thread_v3 &t1, tbb_thread_v3 &t2) |