Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

tbb::internal::tbb_thread_v3 Class Reference

Versioned thread class. More...

#include <tbb_thread.h>

List of all members.

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)


Detailed Description

Versioned thread class.


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

Copyright © 2005-2008 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.