Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Go to the documentation of this file.
17 #ifndef _TBB_tbb_main_H
18 #define _TBB_tbb_main_H
T __TBB_load_with_acquire(const volatile T &location)
~__TBB_InitOnce()
Remove the initial reference to resources.
friend void ITT_DoUnsafeOneTimeInitialization()
static atomic< int > count
Counter of references to global shared resources such as TLS.
static void add_ref()
Add reference to resources. If first reference added, acquire the resources.
__TBB_Flag __TBB_LockByte(__TBB_atomic_flag &flag)
static bool initialization_done()
void DoOneTimeInitializations()
Performs thread-safe lazy one-time general TBB initialization.
static void release_resources()
Platform specific code to release resources.
__TBB_InitOnce()
Add initial reference to resources.
Class that supports TBB initialization.
static void terminate_auto_initialized_scheduler()
Undo automatic initialization if necessary; call when a thread exits.
static __TBB_atomic_flag InitializationLock
Global initialization lock.
static void remove_ref()
Remove reference to resources. If last reference removed, release the resources.
__TBB_atomic __TBB_Flag __TBB_atomic_flag
friend void DoOneTimeInitializations()
Performs thread-safe lazy one-time general TBB initialization.
static void acquire_resources()
Platform specific code to acquire resources.
static bool InitializationDone
Specifies if the one-time initializations has been done.
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.