Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 6 of 6) sorted by relevance

/oneTBB/doc/main/tbb_userguide/
H A DReader_Writer_Mutexes.rst9 protected region. The reader-writer variants of the mutexes, denoted by
11 *reader locks* from *writer locks.* There can be more than one reader
15 Requests for a reader lock are distinguished from requests for a writer
18 true to request a writer lock. It defaults to ``true`` so that when
H A DUpgradeDowngrade.rst7 It is possible to upgrade a reader lock to a writer lock, by using the
40 check that the key was not inserted by another writer. The example
/oneTBB/doc/main/reference/
H A Dcustom_mutex_chmap.rst16 oneTBB ``concurrnent_hash_map`` class uses reader-writer mutex
18 for ``concurrent_hash_map`` that allows to customize the type of the reader-writer mutex.
58 **Returns**: ``true`` if the ``scoped_lock`` object acquires the mutex as a writer, ``false`` other…
124 if (my_writer_flag) return true; // Already a writer
/oneTBB/test/conformance/
H A Dconformance_sequencer_node.cpp151 function_node<message> writer(g, tbb::flow::serial, [&] (const message& msg) { in __anona3025c380402() variable
156 tbb::flow::make_edge(ordering, writer);
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_hash_map.h709 …concurrent_hash_map *base, const hashcode_type h, bool writer = false ) { acquire( base, h, writer in __TBB_requires()
711 … inline void acquire( concurrent_hash_map *base, const hashcode_type h, bool writer = false ) { in __TBB_requires()
719 else bucket::scoped_type::acquire( my_b->mutex, writer ); in __TBB_requires()
/oneTBB/test/common/
H A Ddoctest.h5109 ScopedElement( XmlWriter* writer );
5329 XmlWriter::ScopedElement::ScopedElement( XmlWriter* writer )
5330 : m_writer( writer )