HomeSort by relevance Sort by last modified time
    Searched full:trylock (Results 51 - 75 of 402) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/common/
multi_process_lock_linux.cc 27 virtual bool TryLock() OVERRIDE {
  /external/chromium_org/third_party/tcmalloc/chromium/src/windows/
mingw.h 49 // least 0x0400 for mutex.h to have access to TryLock, and at least
  /external/chromium_org/third_party/tcmalloc/vendor/src/windows/
mingw.h 49 // least 0x0400 for mutex.h to have access to TryLock, and at least
  /external/lldb/include/lldb/Host/
Mutex.h 118 /// unlock it when it goes out of scope or Reset or TryLock are
128 TryLock (Mutex &mutex, const char *failure_message = NULL);
131 TryLock (Mutex *mutex, const char *failure_message = NULL)
134 return TryLock(*mutex, failure_message);
206 /// If the mutex is already locked, TryLock() will not block waiting
216 TryLock(const char *failure_message = NULL);
271 TryLock (const char *failure_message = NULL)
273 int return_value = Mutex::TryLock();
303 TryLock (const char *failure_message = NULL);
  /libcore/jsr166-tests/src/test/java/jsr166/
ReentrantLockTest.java 207 * tryLock on an unlocked lock succeeds
213 assertTrue(lock.tryLock());
215 assertTrue(lock.tryLock());
347 * timed tryLock is interruptible
356 lock.tryLock(2 * LONG_DELAY_MS, MILLISECONDS);
366 * tryLock on a locked lock fails
375 assertFalse(lock.tryLock());
383 * Timed tryLock on a locked lock times out
394 assertFalse(lock.tryLock(timeoutMillis, MILLISECONDS));
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/locks/
ReentrantReadWriteLock.java 52 * {@link ReadLock#tryLock()} and {@link WriteLock#tryLock()} methods
523 * Performs tryLock for write, enabling barging in both modes.
544 * Performs tryLock for read, enabling barging in both modes.
754 * fair ordering policy, a call to {@code tryLock()}
760 * for this lock, then use {@link #tryLock(long, TimeUnit)
761 * tryLock(0, TimeUnit.SECONDS) } which is almost equivalent
770 public boolean tryLock() {
785 * lock. This is in contrast to the {@link #tryLock()}
786 * method. If you want a timed {@code tryLock} that doe
    [all...]
Lock.java 68 * #tryLock()}), an attempt to acquire the lock that can be
70 * the lock that can timeout ({@link #tryLock(long, TimeUnit)}).
216 * if (lock.tryLock()) {
232 boolean tryLock();
292 boolean tryLock(long time, TimeUnit unit) throws InterruptedException;
  /external/lldb/source/API/
SBProcess.cpp 247 const bool can_update = stop_locker.TryLock(&process_sp->GetRunLock());
518 const bool can_update = stop_locker.TryLock(&process_sp->GetRunLock());
856 const bool can_update = stop_locker.TryLock(&process_sp->GetRunLock());
883 const bool can_update = stop_locker.TryLock(&process_sp->GetRunLock());
989 if (stop_locker.TryLock(&process_sp->GetRunLock()))
1031 if (stop_locker.TryLock(&process_sp->GetRunLock()))
1059 if (stop_locker.TryLock(&process_sp->GetRunLock()))
1087 if (stop_locker.TryLock(&process_sp->GetRunLock()))
1129 if (stop_locker.TryLock(&process_sp->GetRunLock()))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
AudioContext.cpp 607 bool AudioContext::tryLock(bool& mustReleaseLock)
616 // In release build treat tryLock() as lock() (since above ASSERT(isAudioThread) never fires) - this is the best we can do.
629 hasLock = m_contextGraphMutex.tryLock();
669 // It's OK if the tryLock() fails, we'll just take slightly longer to pick up the changes.
671 if (tryLock(mustReleaseLock)) {
690 // Must use a tryLock() here too. Don't worry, the lock will very rarely be contended and this method is called frequently.
694 if (tryLock(mustReleaseLock)) {
698 // Take care of AudioNode tasks where the tryLock() failed previously.
MediaStreamAudioSourceNode.cpp 110 // Use a tryLock() to avoid contention in the real-time audio thread.
OscillatorNode.cpp 232 // The audio thread can't block on this lock, so we call tryLock() instead.
235 // Too bad - the tryLock() failed. We must be in the middle of changing wave-tables.
  /external/chromium_org/third_party/tcmalloc/chromium/src/base/
spinlock.h 82 // returned. If this SpinLock is free at the time of the call, TryLock
84 inline bool TryLock() EXCLUSIVE_TRYLOCK_FUNCTION(true) {
  /external/chromium_org/third_party/tcmalloc/vendor/src/base/
spinlock.h 82 // returned. If this SpinLock is free at the time of the call, TryLock
84 inline bool TryLock() EXCLUSIVE_TRYLOCK_FUNCTION(true) {
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_mutex.h 30 if (TryLock())
35 bool TryLock() {
sanitizer_deadlock_detector2.cc 96 bool trylock);
274 bool trylock) {
276 cb->lt->ctx, m, wlock, trylock, cb->lt->nlocked);
294 if (!trylock)
sanitizer_deadlock_detector_interface.h 84 bool trylock) {}
  /external/compiler-rt/lib/tsan/dd/
dd_rtl.cc 121 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) {
129 ctx->dd->MutexAfterLock(&cb, &h->dd, writelock, trylock);
dd_interceptors.cc 251 void __dsan_after_mutex_lock(uptr m, int writelock, int trylock) {
254 MutexAfterLock(thr, m, writelock, trylock);
  /external/compiler-rt/lib/tsan/tests/rtl/
tsan_test_util.h 43 bool TryLock();
99 bool TryLock(const Mutex &m);
  /external/valgrind/main/drd/
drd_qtcore_intercepts.c 157 // QMutex::tryLock() -- _ZN6QMutex7tryLockEv
172 // QMutex::tryLock(int) -- _ZN6QMutex7tryLockEi
  /system/core/include/utils/
Mutex.h 59 status_t tryLock();
117 inline status_t Mutex::tryLock() {
  /external/clang/test/SemaCXX/
warn-thread-safety-analysis.cpp 35 bool TryLock() __attribute__((exclusive_trylock_function(true)));
3643 bool Foo::trylock() { return true; } function in class:MultipleAttributeTest::Foo
    [all...]
  /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
pthread_mutex_destroy.c 61 * If trylock succeeded and the mutex is not recursively locked it
  /external/fio/
iolog.c 609 int trylock)
615 if (trylock) {
633 const char *name, int trylock)
635 return finish_log_named(td, log, td->o.name, name, trylock);
  /packages/apps/Camera2/src/com/android/camera/tinyplanet/
TinyPlanetPreview.java 82 if (mLock != null && mLock.tryLock()) {

Completed in 2002 milliseconds

1 23 4 5 6 7 8 91011>>