Home
last modified time | relevance | path

Searched refs:is_writer (Results 1 – 14 of 14) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_mutex.h217 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 Dtest_concurrent_hash_map.cpp583 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 Dqueuing_rw_mutex.h111 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 Dnull_rw_mutex.h63 bool is_writer() const { return true; } in is_writer() function
H A Dconcurrent_hash_map.h46 { 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 Dconformance_mutex.h243 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.h103 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.h156 bool is_writer() const { in is_writer() function
/oneTBB/doc/main/reference/
H A Dcustom_mutex_chmap.rst56 .. cpp:function:: bool ReaderWriterMutex::scoped_lock::is_writer() const;
139 bool is_writer() const {
/oneTBB/doc/main/tbb_userguide/
H A DUpgradeDowngrade.rst21 MyVectorMutexType::scoped_lock lock(MyVectorMutex,/*is_writer=*/false);
/oneTBB/src/tbb/
H A Dqueuing_rw_mutex.cpp577 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 Dwin64-tbb.def122 ?is_writer@r1@detail@tbb@@YA_NAEBVscoped_lock@queuing_rw_mutex@d1@23@@Z
H A Dwin32-tbb.def122 ?is_writer@r1@detail@tbb@@YA_NABVscoped_lock@queuing_rw_mutex@d1@23@@Z
/oneTBB/test/common/
H A Dconcepts_common.h482 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