Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Go to the documentation of this file.
33 __TBB_ASSERT( my_mutex,
"release on spin_mutex::scoped_lock that is not holding a lock" );
41 __TBB_ASSERT( !my_mutex,
"already holding a lock on a spin_mutex" );
bool __TBB_EXPORTED_METHOD internal_try_acquire(spin_mutex &m)
Like try_acquire, but with ITT instrumentation.
#define __TBB_ASSERT(predicate, comment)
No-op version of __TBB_ASSERT.
#define ITT_NOTIFY(name, obj)
__TBB_Flag __TBB_LockByte(__TBB_atomic_flag &flag)
__TBB_atomic_flag flag
0 if lock is released, 1 if lock is acquired.
spin_mutex * my_mutex
Points to currently held mutex, or NULL if no lock is held.
void __TBB_EXPORTED_METHOD internal_acquire(spin_mutex &m)
Like acquire, but with ITT instrumentation.
bool __TBB_TryLockByte(__TBB_atomic_flag &flag)
#define ITT_SYNC_CREATE(obj, type, name)
void __TBB_EXPORTED_METHOD internal_construct()
Internal constructor with ITT instrumentation.
#define _T(string_literal)
Standard Windows style macro to markup the string literals.
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p sync_releasing
A lock that occupies a single byte.
void __TBB_EXPORTED_METHOD internal_release()
Like release, but with ITT instrumentation.
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.