OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:TryLock
(Results
1 - 17
of
17
) sorted by null
/external/chromium/chrome/common/
multi_process_lock_mac.cc
21
virtual bool
TryLock
() {
multi_process_lock_win.cc
21
virtual bool
TryLock
() {
multi_process_lock_linux.cc
26
virtual bool
TryLock
() {
/external/regex-re2/util/
mutex.h
39
// lines, and change
TryLock
() to assert(0) or something.
60
inline bool
TryLock
(); // If free, Lock() and return true, else return false
99
bool Mutex::
TryLock
() { if (mutex_) return false; Lock(); return true; }
112
bool Mutex::
TryLock
() { return pthread_rwlock_trywrlock(&mutex_) == 0; }
127
bool Mutex::
TryLock
() { return pthread_mutex_trylock(&mutex_) == 0; }
138
bool Mutex::
TryLock
() { return TryEnterCriticalSection(&mutex_) != 0; }
/external/chromium/sdch/open-vcdiff/src/
mutex.h
45
// NOTE: by default, we have #ifdef'ed out the
TryLock
() method.
47
// 1)
TryLock
() under Windows is a bit annoying (it requires a
49
// 2)
TryLock
() is broken for NO_THREADS mode, at least in NDEBUG
51
// If you need
TryLock
(), and either these two caveats are not a
111
// lines, and change
TryLock
() to assert(0) or something.
149
inline bool
TryLock
(); // If free, Lock() and return true, else return false
195
bool Mutex::
TryLock
() { if (mutex_) return false; Lock(); return true; }
207
bool Mutex::
TryLock
() { return is_safe_ ?
228
bool Mutex::
TryLock
() { return is_safe_ ?
251
bool Mutex::
TryLock
() { return is_safe_
[
all
...]
/external/valgrind/unittest/
thread_wrappers_win.h
85
bool
TryLock
() { return ::TryEnterCriticalSection(&cs_); }
97
bool ReaderTryLock() { return
TryLock
();}
thread_wrappers_pthread.h
161
bool
TryLock
() { return (0 == pthread_mutex_trylock(&mu_));}
170
bool ReaderTryLock() { return
TryLock
();}
248
bool
TryLock
() {
/external/chromium/third_party/libjingle/source/talk/base/
stream.cc
498
bool FileStream::
TryLock
() {
/external/v8/src/
platform-cygwin.cc
512
virtual bool
TryLock
() {
platform-freebsd.cc
585
virtual bool
TryLock
() {
platform-macos.cc
672
virtual bool
TryLock
() {
platform-solaris.cc
568
virtual bool
TryLock
() {
platform-linux.cc
851
virtual bool
TryLock
() {
[
all
...]
platform-openbsd.cc
639
virtual bool
TryLock
() {
isolate.h
[
all
...]
platform-win32.cc
[
all
...]
/external/valgrind/main/drd/tests/
tsan_thread_wrappers_pthread.h
203
bool
TryLock
() { return (0 == pthread_mutex_trylock(&mu_));}
211
bool ReaderTryLock() { return
TryLock
();}
Completed in 782 milliseconds