/third_party/node/deps/v8/src/base/platform/ |
H A D | mutex.cc | 173 bool Mutex::TryLock() { in TryLock() function in v8::base::Mutex 214 bool RecursiveMutex::TryLock() { in TryLock() function in v8::base::RecursiveMutex 332 bool Mutex::TryLock() { 373 bool RecursiveMutex::TryLock() { 440 bool RecursiveMutex::TryLock() { return native_handle_.AcquireTry(); }
|
H A D | mutex.h | 36 // either |Lock()| or |TryLock()| until it calls |Unlock()|. 38 // |Lock()|) or receive a |false| return value (for |TryLock()|) if they 41 // |TryLock()|. The behavior of a program is undefined if a mutex is destroyed 63 bool TryLock() V8_WARN_UNUSED_RESULT; 128 // when it successfully calls either |Lock()| or |TryLock()|. During this 129 // period, the thread may make additional calls to |Lock()| or |TryLock()|. 133 // calls to |Lock()|) or receive a |false| return value (for |TryLock()|) if 137 // probably abort the process and calls to |TryLock()| return false. 165 bool TryLock() V8_WARN_UNUSED_RESULT;
|
/third_party/node/deps/v8/src/heap/ |
H A D | safepoint.cc | 84 if (!local_heaps_mutex_.TryLock()) return; in TryInitiateGlobalSafepointScope() 156 if (!local_heaps_mutex_.TryLock()) { in LockMutex() 341 if (!clients_mutex_.TryLock()) { in EnterGlobalSafepointScope() 363 CHECK(shared_isolate_->heap()->safepoint()->local_heaps_mutex_.TryLock()); in EnterGlobalSafepointScope()
|
H A D | parked-scope.h | 56 if (!mutex_->TryLock()) { in ParkedMutexGuard()
|
/third_party/node/deps/v8/src/tasks/ |
H A D | operations-barrier.cc | 10 OperationsBarrier::Token OperationsBarrier::TryLock() { in TryLock() function in v8::internal::OperationsBarrier
|
H A D | operations-barrier.h | 20 // of how many are currently active. Users will call TryLock() before starting 26 // completed, instead for convenience TryLock() will return a RAII 38 // if (token = barrier_.TryLock()) Process(); 92 Token TryLock(); 94 // Prevents further calls to TryLock() from succeeding and waits for
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | spinlock.h | 84 // returned. If this SpinLock is free at the time of the call, TryLock 86 inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in ABSL_EXCLUSIVE_TRYLOCK_FUNCTION()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
H A D | lock_test.cc | 237 TEST(LockTest, TryLock) { in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
H A D | mutex.h | 168 // Mutex::TryLock() 173 bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true); 191 // `Unlock()` and `TryLock()` methods for use within applications mixing 248 // Aliases for `Mutex::Lock()`, `Mutex::Unlock()`, and `Mutex::TryLock()`. 258 return this->TryLock(); in ABSL_EXCLUSIVE_TRYLOCK_FUNCTION()
|
H A D | mutex_test.cc | 106 } while (!cxt->mu.TryLock()); in TestTry() 1116 bool got_mu0 = mu0.TryLock(); 1121 if (mu0.TryLock()) { // try lock shouldn't cause deadlock detector to fire
|
H A D | mutex.cc | 261 SYNCH_F_TRY = 0x04, // TryLock or ReaderTryLock 274 {SYNCH_F_LCK_W | SYNCH_F_TRY, "TryLock succeeded "}, 275 {0, "TryLock failed "}, 1601 ABSL_XRAY_LOG_ARGS(1) bool Mutex::TryLock() { in TryLock() function in absl::Mutex
|
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-engine.cc | 1012 return isolate_info_it->second->wrapper_compilation_barrier_->TryLock(); in StartWrapperCompilation() 1463 DCHECK(!mutex_.TryLock()); in FreeDeadCodeLocked() 1561 DCHECK(!mutex_.TryLock()); in TriggerGC() 1597 DCHECK(!mutex_.TryLock()); in RemoveIsolateFromCurrentGC() 1603 DCHECK(!mutex_.TryLock()); in PotentiallyFinishCurrentGC()
|
H A D | wasm-debug.cc | 248 DCHECK(!mutex_.TryLock()); // Mutex is held externally. in RecompileLiftoffWithBreakpoints() 375 DCHECK(!mutex_.TryLock()); // Mutex must be held externally. in FindAllBreakpoints() 388 DCHECK(!mutex_.TryLock()); // Mutex is held externally. in UpdateBreakpoints()
|
H A D | module-compiler.cc | 1877 auto engine_scope = engine_barrier_->TryLock(); 3607 DCHECK(!callbacks_mutex_.TryLock()); in TriggerCallbacks()
|
H A D | wasm-code-manager.cc | 981 GetWasmEngine()->GetBarrierForBackgroundCompile()->TryLock()), in NativeModule()
|
/third_party/node/deps/v8/src/execution/ |
H A D | isolate.h | 2481 static bool TryLock(Isolate* isolate) { in TryLock() function in v8::internal::ExecutionAccess 2482 return isolate->break_access()->TryLock(); in TryLock()
|
/third_party/skia/third_party/vulkanmemoryallocator/include/ |
H A D | vk_mem_alloc.h | 4107 bool TryLock() { return m_Mutex.try_lock(); } in TryLock() function in VmaMutex 4156 bool TryLockRead() { return m_Mutex.TryLock(); } in TryLockRead() 4159 bool TryLockWrite() { return m_Mutex.TryLock(); } in TryLockWrite()
|