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