Home
last modified time | relevance | path

Searched refs:refCount_ (Results 1 - 5 of 5) sorted by relevance

/commonlibrary/ets_utils/js_concurrent_module/utils/locks/
H A Dasync_lock.cpp115 if (refCount_ == 0) { in ProcessPendingLockRequestUnsafe()
245 return ++refCount_; in IncRefCount()
251 uint32_t count = --refCount_; in DecRefCount()
H A Dasync_lock.h80 uint32_t refCount_ = 1; member in Commonlibrary::Concurrent::LocksModule::AsyncLock
/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dtask.h192 std::atomic<uint32_t> refCount_ {false}; // when refCount_ is 0, the task pointer can be deleted
H A Dtask.cpp104 if (task->IsMainThreadTask() || task->refCount_ == 0) { in TaskDestructor()
114 if (task->refCount_ == 0) { in TaskDestructor()
1406 refCount_++; // when tasks are created or executed, refCount_ will increment in IncreaseTaskRefCount()
1411 refCount_--; // when tasks finished, refCount_ will decrement in DecreaseTaskRefCount()
/commonlibrary/ets_utils/js_concurrent_module/taskpool/test/
H A Dtest_taskpool.cpp4605 task->refCount_ = 1; in HWTEST_F()
4608 ASSERT_TRUE(task->refCount_ == 0); in HWTEST_F()

Completed in 12 milliseconds