OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:TryLock
(Results
1 - 10
of
10
) sorted by null
/device/google/contexthub/firmware/inc/
trylock.h
24
#include <plat/inc/
trylock
.h>
27
struct
TryLock
{
31
#define TRYLOCK_DECL_STATIC(name) struct
TryLock
name
34
void trylockInit(struct
TryLock
*lock);
35
void trylockRelease(struct
TryLock
*lock);
36
bool trylockTryTake(struct
TryLock
*lock); //true if we took it
/external/v8/src/base/platform/
mutex.cc
139
bool Mutex::
TryLock
() {
180
bool RecursiveMutex::
TryLock
() {
/external/ceres-solver/internal/ceres/
mutex.h
41
// NOTE: by default, we have #ifdef'ed out the
TryLock
() method.
43
// 1)
TryLock
() under Windows is a bit annoying (it requires a
45
// 2)
TryLock
() is broken for NO_THREADS mode, at least in NDEBUG
47
// If you need
TryLock
(), and either these two caveats are not a
107
// lines, and change
TryLock
() to assert(0) or something.
161
inline bool
TryLock
(); // If free, Lock() and return true, else return false
209
bool Mutex::
TryLock
() { if (mutex_) return false; Lock(); return true; }
221
bool Mutex::
TryLock
() { return is_safe_ ?
241
bool Mutex::
TryLock
() { return is_safe_ ?
263
bool Mutex::
TryLock
() { return is_safe_
[
all
...]
/external/compiler-rt/lib/sanitizer_common/
sanitizer_mutex.h
30
if (
TryLock
())
35
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; }
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
msputils.h
103
WINBOOL
TryLock
() { return TryEnterCriticalSection(&m_CritSec); }
/external/webrtc/webrtc/base/
stream.cc
494
bool FileStream::
TryLock
() {
/art/runtime/
monitor.cc
335
bool Monitor::
TryLock
(Thread* self) {
[
all
...]
/external/valgrind/drd/tests/
tsan_thread_wrappers_pthread.h
203
bool
TryLock
() { return (0 == pthread_mutex_trylock(&mu_));}
211
bool ReaderTryLock() { return
TryLock
();}
/external/v8/src/
isolate.h
[
all
...]
Completed in 577 milliseconds