Home
last modified time | relevance | path

Searched refs:rw_lock_ (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dbtree_iterator.tpp27 cur_->rw_lock_.Unlock();
38 cur_->link_.next->rw_lock_.LockShared();
39 cur_->rw_lock_.Unlock();
56 cur_->link_.next->rw_lock_.LockShared();
57 cur_->rw_lock_.Unlock();
73 cur_->link_.prev->rw_lock_.LockShared();
74 cur_->rw_lock_.Unlock();
91 cur_->link_.prev->rw_lock_.LockShared();
92 cur_->rw_lock_.Unlock();
108 this->cur_->rw_lock_.LockShared();
[all …]
Dbtree.h147 UniqueLock lck(&rw_lock_); in SetLocking()
151 void LockShared() { rw_lock_.LockShared(); } in LockShared()
153 void LockExclusive() { rw_lock_.LockExclusive(); } in LockExclusive()
155 void Unlock() { rw_lock_.Unlock(); } in Unlock()
172 mutable RWLock rw_lock_;
194 p->rw_lock_.LockExclusive(); in path()
197 p->rw_lock_.LockShared(); in path()
208 tree->rw_lock_.LockShared(); in LockPathCB()
210 tree->rw_lock_.LockExclusive(); in LockPathCB()
220 p.node_->rw_lock_.Unlock(); in ~LockPathCB()
[all …]
Dcircular_pool.cc88 SharedLock lock_s(&rw_lock_); in Allocate()
139 SharedLock lock(&rw_lock_); in Deallocate()
157 SharedLock lock(&rw_lock_); in Reallocate()
Dtask_manager.cc50 UniqueLock lck(&vg->rw_lock_); in CreateAsyncTask()
319 SharedLock lck(&rw_lock_); in join_all()
358 SharedLock lck(&rw_lock_); in GetTaskErrorIfAny()
Dcircular_pool.h103 RWLock rw_lock_; variable
Dtask_manager.h160 RWLock rw_lock_; variable
Dbtree_impl.tpp378 myLock = &top->rw_lock_;
507 myLock = &this->rw_lock_;
519 leaf->rw_lock_.Unlock();
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_service.cc71 SharedLock rw(&rw_lock_); in CacheRow()
145 SharedLock rw(&rw_lock_); in FastCacheRow()
228 SharedLock rw(&rw_lock_); in GetStat()
237 SharedLock rw(&rw_lock_); in PreBatchFetch()
261 SharedLock rw(&rw_lock_); in InternalFetchRow()
286 UniqueLock rw(&rw_lock_); in CacheSchema()
298 SharedLock rw(&rw_lock_); in FetchSchema()
320 UniqueLock rw(&rw_lock_); in BuildPhaseDone()
331 UniqueLock rw(&rw_lock_); in ToggleWriteMode()
Dstorage_manager.h76 RWLock rw_lock_; variable
Dcache_service.h128 mutable RWLock rw_lock_;
Dstorage_manager.cc87 SharedLock lock_s(&rw_lock_); in Write()