Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <critical_section.h>
Classes | |
class | scoped_lock |
Public Member Functions | |
void __TBB_EXPORTED_METHOD | internal_construct () |
critical_section_v4 () | |
~critical_section_v4 () | |
void | lock () |
bool | try_lock () |
void | unlock () |
Static Public Attributes | |
static const bool | is_rw_mutex = false |
static const bool | is_recursive_mutex = false |
static const bool | is_fair_mutex = true |
Private Attributes | |
pthread_mutex_t | my_impl |
tbb_thread::id | my_tid |
Additional Inherited Members | |
![]() | |
no_copy (const no_copy &)=delete | |
no_copy ()=default | |
Definition at line 50 of file critical_section.h.
|
inline |
Definition at line 61 of file critical_section.h.
References internal_construct(), and my_impl.
|
inline |
void tbb::internal::critical_section_v4::internal_construct | ( | ) |
Definition at line 23 of file critical_section.cpp.
References _T, ITT_SYNC_CREATE, and my_impl.
Referenced by critical_section_v4().
|
inline |
Definition at line 92 of file critical_section.h.
References __TBB_ASSERT, __TBB_ASSERT_EX, tbb::internal::eid_improper_lock, tbb::this_tbb_thread::get_id(), id, my_impl, my_tid, and tbb::internal::throw_exception().
Referenced by tbb::internal::critical_section_v4::scoped_lock::scoped_lock().
|
inline |
Definition at line 105 of file critical_section.h.
References __TBB_ASSERT, tbb::this_tbb_thread::get_id(), id, my_impl, and my_tid.
|
inline |
Definition at line 123 of file critical_section.h.
References __TBB_ASSERT, __TBB_ASSERT_EX, tbb::this_tbb_thread::get_id(), id, my_impl, and my_tid.
Referenced by tbb::internal::critical_section_v4::scoped_lock::~scoped_lock().
|
static |
Definition at line 136 of file critical_section.h.
|
static |
Definition at line 135 of file critical_section.h.
|
static |
Definition at line 134 of file critical_section.h.
|
private |
Definition at line 54 of file critical_section.h.
Referenced by critical_section_v4(), internal_construct(), lock(), try_lock(), unlock(), and ~critical_section_v4().
|
private |
Definition at line 56 of file critical_section.h.
Referenced by lock(), try_lock(), unlock(), and ~critical_section_v4().