| /oneTBB/test/tbb/ |
| H A D | test_mutex.h | 217 CHECK_MESSAGE(!lock.is_writer(), error_message_writer); in TestIsWriter() 221 CHECK_MESSAGE(lock.is_writer(), error_message_not_writer); in TestIsWriter() 227 CHECK_MESSAGE(!lock.is_writer(), error_message_writer); in TestIsWriter() 232 CHECK_MESSAGE(lock.is_writer(), error_message_not_writer); in TestIsWriter() 238 CHECK_MESSAGE(lock.is_writer(), error_message_not_writer); in TestIsWriter() 240 CHECK_MESSAGE(!lock.is_writer(), error_message_writer); in TestIsWriter() 250 CHECK(l.is_writer());
|
| H A D | test_concurrent_hash_map.cpp | 583 bool is_writer() const { in is_writer() function in MinimalisticMutex::scoped_lock 696 using Accessor::is_writer; 708 …CHECK_MESSAGE(acc.is_writer() == expect_write, "Incorrect access into the map from homogeneous ins… in test_chmap_access_mode() 713 …CHECK_MESSAGE(acc.is_writer() == expect_write, "Incorrect access into the map from heterogeneous i… in test_chmap_access_mode() 719 …CHECK_MESSAGE(acc.is_writer() == expect_write, "Incorrect access into the map from lvalue insert"); in test_chmap_access_mode() 724 …CHECK_MESSAGE(acc.is_writer() == expect_write, "Incorrect access into the map from rvalue insert"); in test_chmap_access_mode() 729 …CHECK_MESSAGE(acc.is_writer() == expect_write, "Incorrect access into the map from homogeneous fin… in test_chmap_access_mode() 734 …CHECK_MESSAGE(acc.is_writer() == expect_write, "Incorrect access into the map from heterogeneous f… in test_chmap_access_mode()
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | queuing_rw_mutex.h | 111 bool is_writer() const; 166 TBB_EXPORT bool is_writer(const d1::queuing_rw_mutex::scoped_lock&); 192 inline bool queuing_rw_mutex::scoped_lock::is_writer() const { in is_writer() function 193 return r1::is_writer(*this); in is_writer()
|
| H A D | null_rw_mutex.h | 63 bool is_writer() const { return true; } in is_writer() function
|
| H A D | concurrent_hash_map.h | 46 { sl.is_writer() } -> std::convertible_to<bool>; in requires() 743 if (!b_old.is_writer()) { in __TBB_requires() 812 bool is_writer() { return node::scoped_type::is_writer(); } in __TBB_requires() 1296 while ( !b.is_writer() && !b.upgrade_to_writer() ) { // TODO: improved insertion in __TBB_requires() 1414 if (!item_accessor.is_writer()) { // need to get exclusive lock in __TBB_requires() 1444 } else if (!b.is_writer() && !b.upgrade_to_writer()) { in __TBB_requires()
|
| /oneTBB/test/conformance/ |
| H A D | conformance_mutex.h | 243 scoped_lock(mutex_type& m, bool is_writer) : my_mutex(nullptr) { in scoped_lock() argument 244 acquire(m,is_writer); in scoped_lock() 279 void acquire(mutex_type& m, bool is_writer) { in acquire() argument 280 m_is_writer = is_writer; in acquire() 281 if (is_writer) m.my_iso_mutex.lock(); in acquire() 285 bool try_acquire(mutex_type& m, bool is_writer) { in try_acquire() argument 286 m_is_writer = is_writer; in try_acquire() 287 if (is_writer ? m.my_iso_mutex.try_lock() : m.my_iso_mutex.try_lock_shared()) { in try_acquire()
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _rtm_rw_mutex.h | 103 inline bool is_writer() const; in alignas() 190 bool rtm_rw_mutex::scoped_lock::is_writer() const { in is_writer() function
|
| H A D | _scoped_lock.h | 156 bool is_writer() const { in is_writer() function
|
| /oneTBB/doc/main/reference/ |
| H A D | custom_mutex_chmap.rst | 56 .. cpp:function:: bool ReaderWriterMutex::scoped_lock::is_writer() const; 139 bool is_writer() const {
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | UpgradeDowngrade.rst | 21 MyVectorMutexType::scoped_lock lock(MyVectorMutex,/*is_writer=*/false);
|
| /oneTBB/src/tbb/ |
| H A D | queuing_rw_mutex.cpp | 577 static bool is_writer(const d1::queuing_rw_mutex::scoped_lock& m) { in is_writer() function 603 bool __TBB_EXPORTED_FUNC is_writer(const d1::queuing_rw_mutex::scoped_lock& s) { in is_writer() function 604 return queuing_rw_mutex_impl::is_writer(s); in is_writer()
|
| /oneTBB/src/tbb/def/ |
| H A D | win64-tbb.def | 122 ?is_writer@r1@detail@tbb@@YA_NAEBVscoped_lock@queuing_rw_mutex@d1@23@@Z
|
| H A D | win32-tbb.def | 122 ?is_writer@r1@detail@tbb@@YA_NABVscoped_lock@queuing_rw_mutex@d1@23@@Z
|
| /oneTBB/test/common/ |
| H A D | concepts_common.h | 482 bool is_writer() const requires (EnableIsWriter == State::correct) { return true; } in is_writer() function 483 …Dummy is_writer() const requires (EnableIsWriter == State::incorrect_return_type) { return Dummy{}… in is_writer() function 484 bool is_writer() requires (EnableIsWriter == State::incorrect_constness) { return true; } in is_writer() function
|