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)
static void release_resources()
Platform specific code to release resources.
Class that supports TBB initialization.
friend void ITT_DoUnsafeOneTimeInitialization()
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 InitializationDone
Specifies if the one-time initializations has been done.
void DoOneTimeInitializations()
Performs thread-safe lazy one-time general TBB initialization.
static __TBB_atomic_flag InitializationLock
Global initialization lock.
static void acquire_resources()
Platform specific code to acquire resources.
static void remove_ref()
Remove reference to resources. If last reference removed, release 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
__TBB_InitOnce()
Add initial reference to resources.
static void terminate_auto_initialized_scheduler()
Undo automatic initialization if necessary; call when a thread exits.
friend void DoOneTimeInitializations()
Performs thread-safe lazy one-time general TBB initialization.
static bool initialization_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.