tbb_thread.h File Reference
`#include "internal/_deprecated_header_message_guard.h"`
`#include "internal/_warning_suppress_enable_notice.h"`
`#include "tbb_stddef.h"`
`#include <pthread.h>`
`#include "atomic.h"`
`#include "internal/_tbb_hash_compare_impl.h"`
`#include "tick_count.h"`
`#include <iosfwd>`
`#include "internal/_warning_suppress_disable_notice.h"`
Include dependency graph for tbb_thread.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes

struct | tbb::internal::thread_closure_base
struct | tbb::internal::thread_closure_0< F >
struct | tbb::internal::thread_closure_1< F, X >
| Structure used to pass user function with 1 argument to thread. More...
struct | tbb::internal::thread_closure_2< F, X, Y >
class | tbb::internal::tbb_thread_v3
| Versioned thread class. More...
class | tbb::internal::tbb_thread_v3::id

## Namespaces

| tbb
| The graph class.
| tbb::internal
| Identifiers declared inside namespace internal should never be used directly by client code.
| tbb::this_tbb_thread

## Macros

#define | __TBB_show_deprecation_message_tbb_thread_H
#define | __TBB_tbb_thread_H
#define | __TBB_tbb_thread_H_include_area
#define | __TBB_NATIVE_THREAD_ROUTINE void*
#define | __TBB_NATIVE_THREAD_ROUTINE_PTR(r) void* (*r)( void* )

## Typedefs

typedef pthread_t | tbb::internal::thread_id_type

## Functions

void | tbb::swap (internal::tbb_thread_v3 &t1, internal::tbb_thread_v3 &t2) __TBB_NOEXCEPT(true)
void *__TBB_EXPORTED_FUNC | tbb::internal::allocate_closure_v3 (size_t size)
| Allocate a closure. More...
void __TBB_EXPORTED_FUNC | tbb::internal::free_closure_v3 (void *)
| Free a closure allocated by allocate_closure_v3. More...
void __TBB_EXPORTED_FUNC | tbb::internal::move_v3 (tbb_thread_v3 &t1, tbb_thread_v3 &t2)
tbb_thread_v3::id __TBB_EXPORTED_FUNC | tbb::internal::thread_get_id_v3 ()
void __TBB_EXPORTED_FUNC | tbb::internal::thread_yield_v3 ()
void __TBB_EXPORTED_FUNC | tbb::internal::thread_sleep_v3 (const tick_count::interval_t &i)
bool | tbb::internal::operator== (tbb_thread_v3::id x, tbb_thread_v3::id y) __TBB_NOEXCEPT(true)
bool | tbb::internal::operator!= (tbb_thread_v3::id x, tbb_thread_v3::id y) __TBB_NOEXCEPT(true)
bool | tbb::internal::operator< (tbb_thread_v3::id x, tbb_thread_v3::id y) __TBB_NOEXCEPT(true)
bool | tbb::internal::operator<= (tbb_thread_v3::id x, tbb_thread_v3::id y) __TBB_NOEXCEPT(true)
bool | tbb::internal::operator> (tbb_thread_v3::id x, tbb_thread_v3::id y) __TBB_NOEXCEPT(true)
bool | tbb::internal::operator>= (tbb_thread_v3::id x, tbb_thread_v3::id y) __TBB_NOEXCEPT(true)
void | tbb::move (tbb_thread &t1, tbb_thread &t2)
__TBB_DEPRECATED_IN_VERBOSE_MODE tbb_thread::id | tbb::this_tbb_thread::get_id ()
__TBB_DEPRECATED_IN_VERBOSE_MODE void | tbb::this_tbb_thread::yield ()
| Offers the operating system the opportunity to schedule another thread. More...
__TBB_DEPRECATED_IN_VERBOSE_MODE void | tbb::this_tbb_thread::sleep (const tick_count::interval_t &i)
| The current thread blocks at least until the time specified. More...

## Macro Definition Documentation

## __TBB_NATIVE_THREAD_ROUTINE

#define __TBB_NATIVE_THREAD_ROUTINE void*

Definition at line 48 of file tbb_thread.h.

## __TBB_NATIVE_THREAD_ROUTINE_PTR

#define __TBB_NATIVE_THREAD_ROUTINE_PTR | ( |  | r | ) | void* (*r)( void* )

Definition at line 49 of file tbb_thread.h.

## __TBB_show_deprecation_message_tbb_thread_H

#define __TBB_show_deprecation_message_tbb_thread_H

Definition at line 20 of file tbb_thread.h.

## __TBB_tbb_thread_H

#define __TBB_tbb_thread_H

Definition at line 29 of file tbb_thread.h.

## __TBB_tbb_thread_H_include_area

#define __TBB_tbb_thread_H_include_area

Definition at line 31 of file tbb_thread.h.

Copyright © 2005-2020 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.