| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _scoped_lock.h | 85 rw_scoped_lock(Mutex& m, bool write = true) { 86 acquire(m, write); 101 void acquire(Mutex& m, bool write = true) { 103 m_is_writer = write; 105 if (write) { 113 bool try_acquire(Mutex& m, bool write = true) { 114 bool succeed = write ? m.try_lock() : m.try_lock_shared(); 117 m_is_writer = write;
|
| H A D | _rtm_rw_mutex.h | 72 …scoped_lock(rtm_rw_mutex& m, bool write = true) : m_mutex(nullptr), m_transaction_state(rtm_type::… in alignas() 73 acquire(m, write); in alignas() 88 inline void acquire(rtm_rw_mutex& m, bool write = true); in alignas() 91 inline bool try_acquire(rtm_rw_mutex& m, bool write = true); in alignas() 145 void rtm_rw_mutex::scoped_lock::acquire(rtm_rw_mutex& m, bool write) { in acquire() argument 147 if (write) { in acquire() 155 bool rtm_rw_mutex::scoped_lock::try_acquire(rtm_rw_mutex& m, bool write) { in try_acquire() argument 157 if (write) { in try_acquire()
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | queuing_rw_mutex.h | 81 scoped_lock( queuing_rw_mutex& m, bool write=true ) { 83 acquire(m,write); 96 void acquire( queuing_rw_mutex& m, bool write=true ); 99 bool try_acquire( queuing_rw_mutex& m, bool write=true ); 172 inline void queuing_rw_mutex::scoped_lock::acquire(queuing_rw_mutex& m,bool write) { in acquire() argument 173 r1::acquire(m, *this, write); in acquire() 176 inline bool queuing_rw_mutex::scoped_lock::try_acquire(queuing_rw_mutex& m, bool write) { in try_acquire() argument 177 return r1::try_acquire(m, *this, write); in try_acquire()
|
| H A D | concurrent_hash_map.h | 1274 …bool lookup( const K &key, const T *t, const_accessor *result, bool write, AllocateNodeType alloca… in __TBB_requires() 1333 if( !result->try_acquire( n->mutex, write ) ) { in __TBB_requires() 1335 if( result->try_acquire( n->mutex, write ) ) break; in __TBB_requires()
|
| /oneTBB/test/tbb/ |
| H A D | test_mutex.h | 88 bool write = (mode % 8) == 7; in flog_once() local 94 typename mutex_type::scoped_lock lock(mutex, write); in flog_once() 95 if (write) { in flog_once() 121 lock.acquire(mutex, write); in flog_once() 122 if (write) { in flog_once()
|
| H A D | test_scheduler_mix.cpp | 121 ScopedLock(PtrRWMutex& m, bool write = true) : mMutex(nullptr) { in ScopedLock() argument 122 CHECK_FAST(write == true); in ScopedLock() 144 bool tryAcquire(PtrRWMutex& m, bool write = true) { in tryAcquire() argument 145 bool succeed = write ? m.tryLock() : m.tryLockShared(); in tryAcquire() 148 mIsWriter = write; in tryAcquire()
|
| /oneTBB/test/conformance/ |
| H A D | conformance_mutex.h | 146 …Lock_Impl(Counter& counter, typename M::scoped_lock& lock, const std::size_t i, const bool write) { in TestReaderWriterLock_Impl() argument 148 if (write) { in TestReaderWriterLock_Impl() 189 const bool write = (i % 8) == 7; in TestReaderWriterLock() 192 typename M::scoped_lock lock(counter.mutex, write); in TestReaderWriterLock() 193 TestReaderWriterLock_Impl<M, ArrayCounter<M, 8>>(counter, lock, i, write); in TestReaderWriterLock() 198 lock.acquire(counter.mutex, write); in TestReaderWriterLock() 199 TestReaderWriterLock_Impl<M, ArrayCounter<M, 8>>(counter, lock, i, write); in TestReaderWriterLock()
|
| /oneTBB/doc/main/reference/ |
| H A D | custom_mutex_chmap.rst | 87 scoped_lock(SharedMutexWrapper& mutex, bool write = true) 88 : my_mutex_ptr(&mutex), my_writer_flag(write) 101 void acquire(SharedMutexWrapper& mutex, bool write = true) { 105 my_writer_flag = write;
|
| /oneTBB/doc/main/tbb_userguide/design_patterns/ |
| H A D | Fenced_Data_Transfer.rst | 32 write a message and mark it as ready to ready as shown in the 112 A write to a ``std::atomic`` value has *release* semantics, which 114 write. A read from ``std::atomic`` value has *acquire* semantics, 147 keyword forces a write to happen immediately, it generally has no 148 effect on the visible ordering of that write with respect to other
|
| /oneTBB/src/tbb/ |
| H A D | queuing_rw_mutex.cpp | 158 static void acquire(d1::queuing_rw_mutex& m, d1::queuing_rw_mutex::scoped_lock& s, bool write) in acquire() 168 …s.my_state.store(d1::queuing_rw_mutex::scoped_lock::state_t(write ? STATE_WRITER : STATE_READER), … in acquire() 177 if( write ) { // Acquiring for write in acquire() 254 … static bool try_acquire(d1::queuing_rw_mutex& m, d1::queuing_rw_mutex::scoped_lock& s, bool write) in try_acquire() 266 …s.my_state.store(d1::queuing_rw_mutex::scoped_lock::state_t(write ? STATE_WRITER : STATE_ACTIVEREA… in try_acquire() 587 …_EXPORTED_FUNC acquire(d1::queuing_rw_mutex& m, d1::queuing_rw_mutex::scoped_lock& s, bool write) { in acquire() argument 588 queuing_rw_mutex_impl::acquire(m, s, write); in acquire() 591 …ORTED_FUNC try_acquire(d1::queuing_rw_mutex& m, d1::queuing_rw_mutex::scoped_lock& s, bool write) { in try_acquire() argument 592 return queuing_rw_mutex_impl::try_acquire(m, s, write); in try_acquire()
|
| /oneTBB/.github/workflows/ |
| H A D | issue_labeler.yml | 26 pull-requests: write 27 issues: write
|
| H A D | labeler.yml | 22 pull-requests: write
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | concurrent_hash_map.rst | 91 act as smart pointers. An *accessor* represents *update* (*write*) 125 requests write access. Therefore before removing the key, it waits on
|
| H A D | Working_on_the_Assembly_Line_pipeline.rst | 188 write the chunks in the same order. All ``serial_in_order`` filters 202 functor is the simplest. All it has to do is write a ``TextSlice`` to a 227 fprintf(stderr,"Can't write into file '%s'\n", OutputFileName);
|
| H A D | Mutual_Exclusion.rst | 69 The following shows an alternative way to write ``AllocateNode``:
|
| H A D | parallel_for_os.rst | 50 identifiers without having to write out the namespace prefix ``oneapi::tbb``
|
| H A D | parallel_reduce.rst | 89 loop does not write to any of the other locations, and hoist the
|
| /oneTBB/doc/GSG/ |
| H A D | intro.rst | 19 Use oneTBB to write scalable applications that:
|
| /oneTBB/ |
| H A D | README.md | 7 The library lets you easily write parallel programs that take full advantage of the multi-core perf…
|
| /oneTBB/examples/graph/fgbzip2/ |
| H A D | fgbzip2.cpp | 113 m_outputStream.write(buffer.b, buffer.len); in writeChunk()
|
| /oneTBB/examples/parallel_for/polygon_overlay/ |
| H A D | README.md | 52 * `--csv filename` - write timing data to CSV-format file.
|
| /oneTBB/doc/ |
| H A D | Doxyfile.in | 1730 # section "Doxygen usage" for information on how to let doxygen write the 1865 # Note: WordPad (write) and others do not support links.
|