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_Flag __TBB_LockByte(__TBB_atomic_flag &flag)
void DoOneTimeInitializations()
Performs thread-safe lazy one-time general TBB initialization.
static void release_resources()
Platform specific code to release resources.
friend void DoOneTimeInitializations()
Performs thread-safe lazy one-time general TBB initialization.
__TBB_InitOnce()
Add initial reference to resources.
static void remove_ref()
Remove reference to resources. If last reference removed, release the resources.
friend void ITT_DoUnsafeOneTimeInitialization()
Class that supports TBB initialization.
static bool InitializationDone
Specifies if the one-time initializations has been done.
static void add_ref()
Add reference to resources. If first reference added, acquire the resources.
static atomic< int > count
Counter of references to global shared resources such as TLS.
~__TBB_InitOnce()
Remove the initial reference to resources.
__TBB_atomic __TBB_Flag __TBB_atomic_flag
static void acquire_resources()
Platform specific code to acquire resources.
static void terminate_auto_initialized_scheduler()
Undo automatic initialization if necessary; call when a thread exits.
static bool initialization_done()
static __TBB_atomic_flag InitializationLock
Global initialization lock.
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.