Home
last modified time | relevance | path

Searched refs:TryLock (Results 1 - 17 of 17) sorted by relevance

/third_party/node/deps/v8/src/base/platform/
H A Dmutex.cc173 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 Dmutex.h36 // 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 Dsafepoint.cc84 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 Dparked-scope.h56 if (!mutex_->TryLock()) { in ParkedMutexGuard()
/third_party/node/deps/v8/src/tasks/
H A Doperations-barrier.cc10 OperationsBarrier::Token OperationsBarrier::TryLock() { in TryLock() function in v8::internal::OperationsBarrier
H A Doperations-barrier.h20 // 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 Dspinlock.h84 // 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 Dlock_test.cc237 TEST(LockTest, TryLock) { in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
H A Dmutex.h168 // 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 Dmutex_test.cc106 } 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 Dmutex.cc261 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 Dwasm-engine.cc1012 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 Dwasm-debug.cc248 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 Dmodule-compiler.cc1877 auto engine_scope = engine_barrier_->TryLock();
3607 DCHECK(!callbacks_mutex_.TryLock()); in TriggerCallbacks()
H A Dwasm-code-manager.cc981 GetWasmEngine()->GetBarrierForBackgroundCompile()->TryLock()), in NativeModule()
/third_party/node/deps/v8/src/execution/
H A Disolate.h2481 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 Dvk_mem_alloc.h4107 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()

Completed in 53 milliseconds