HomeSort by relevance Sort by last modified time
    Searched defs:Lock (Results 1 - 25 of 215) sorted by null

1 2 3 4 5 6 7 8 9

  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
dmo.h 25 #define Lock DMOLock
29 #undef Lock
  /external/libchrome/base/synchronization/
lock.cc 5 // This file is used for debugging assertion support. The Lock class
9 #include "base/synchronization/lock.h"
15 Lock::Lock() : lock_() {
18 Lock::~Lock() {
22 void Lock::AssertAcquired() const {
26 void Lock::CheckHeldAndUnmark() {
31 void Lock::CheckUnheldAndMark() {
lock_impl_posix.cc 17 // In debug, setup attributes for lock error checking.
28 // In release, go with the default lock attributes.
44 void LockImpl::Lock() {
lock.h 20 class BASE_EXPORT Lock {
24 Lock() : lock_() {}
25 ~Lock() {}
26 void Acquire() { lock_.Lock(); }
29 // If the lock is not held, take it and return true. If the lock is already
31 // by a thread already holding the lock (what happens is undefined and an
38 Lock();
39 ~Lock();
42 // a thread attempts to acquire the lock a second time (while already holdin
    [all...]
  /external/sfntly/cpp/src/sfntly/port/
lock.cc 17 #include "sfntly/port/lock.h"
23 Lock::Lock() {
29 Lock::~Lock() {
33 bool Lock::Try() {
40 void Lock::Acquire() {
44 void Lock::Unlock() {
50 Lock::Lock() {
    [all...]
lock.h 37 class Lock {
39 Lock();
40 ~Lock();
42 // If the lock is not held, take it and return true. If the lock is already
46 // Take the lock, blocking until it is available if necessary.
49 // Release the lock. This must only be called by the lock's holder: after
50 // a successful call to Try, or a call to Lock.
55 NO_COPY_AND_ASSIGN(Lock);
    [all...]
  /external/clang/test/SemaCXX/
operator-arrow-temporary.cpp 8 template<int x> struct Lock {
9 ~Lock() { int a[x]; } // expected-error {{declared as an array with a negative size}}
14 Lock<-1> operator->();
17 // Make sure we try to instantiate the destructor for Lock here
  /external/compiler-rt/test/tsan/
mutex_annotations.cc 21 void Lock() {
36 m.Lock();
40 m.Lock();
  /external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
destructor.pass.cpp 25 typedef std::unique_lock<std::mutex> Lock;
32 Lock lk(m);
40 Lock lk(m);
51 Lock lk(m);
  /external/llvm/include/llvm/
PassRegistry.h 41 mutable sys::SmartRWMutex<true> Lock;
  /libcore/ojluni/src/main/java/java/util/concurrent/locks/
Lock.java 41 * {@code Lock} implementations provide more extensive locking
47 * <p>A lock is a tool for controlling access to a shared resource by
48 * multiple threads. Commonly, a lock provides exclusive access to a
49 * shared resource: only one thread at a time can acquire the lock and
50 * all access to the shared resource requires that the lock be
52 * a shared resource, such as the read lock of a {@link ReadWriteLock}.
55 * access to the implicit monitor lock associated with every object, but
56 * forces all lock acquisition and release to occur in a block-structured way:
68 * acquire the lock of node A, then node B, then release A and acquire
70 * {@code Lock} interface enable the use of such techniques b
186 void lock(); method in interface:Lock
    [all...]
  /prebuilts/go/darwin-x86/src/sync/atomic/
value.go 98 // Lock is a no-op used by -copylocks checker from `go vet`.
99 func (*noCopy) Lock() {}
  /prebuilts/go/darwin-x86/src/sync/
cond.go 46 // c.L.Lock()
58 c.L.Lock()
97 // Lock is a no-op used by -copylocks checker from `go vet`.
98 func (*noCopy) Lock() {}
mutex.go 21 // A Mutex is a mutual exclusion lock.
33 Lock()
43 // Lock locks m.
44 // If the lock is already in use, the calling goroutine
46 func (m *Mutex) Lock() {
102 // It is allowed for one goroutine to lock a Mutex and then
110 // Fast path: drop lock bit.
119 // been woken or grabbed the lock, no need to wake anyone.
rwmutex.go 13 // An RWMutex is a reader/writer mutual exclusion lock.
14 // The lock can be held by an arbitrary number of readers or a single writer.
21 // other goroutine to be able to also take the read lock until the first read
22 // lock is released. In particular, this prohibits recursive read locking.
23 // This is to ensure that the lock eventually becomes available;
24 // a blocked Lock call excludes new readers from acquiring the lock.
77 // Lock locks rw for writing.
78 // If the lock is already locked for reading or writing,
79 // Lock blocks until the lock is available
    [all...]
  /prebuilts/go/linux-x86/src/sync/atomic/
value.go 98 // Lock is a no-op used by -copylocks checker from `go vet`.
99 func (*noCopy) Lock() {}
  /prebuilts/go/linux-x86/src/sync/
cond.go 46 // c.L.Lock()
58 c.L.Lock()
97 // Lock is a no-op used by -copylocks checker from `go vet`.
98 func (*noCopy) Lock() {}
mutex.go 21 // A Mutex is a mutual exclusion lock.
33 Lock()
43 // Lock locks m.
44 // If the lock is already in use, the calling goroutine
46 func (m *Mutex) Lock() {
102 // It is allowed for one goroutine to lock a Mutex and then
110 // Fast path: drop lock bit.
119 // been woken or grabbed the lock, no need to wake anyone.
rwmutex.go 13 // An RWMutex is a reader/writer mutual exclusion lock.
14 // The lock can be held by an arbitrary number of readers or a single writer.
21 // other goroutine to be able to also take the read lock until the first read
22 // lock is released. In particular, this prohibits recursive read locking.
23 // This is to ensure that the lock eventually becomes available;
24 // a blocked Lock call excludes new readers from acquiring the lock.
77 // Lock locks rw for writing.
78 // If the lock is already locked for reading or writing,
79 // Lock blocks until the lock is available
    [all...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvar/
destructor.pass.cpp 23 typedef std::unique_lock<std::mutex> Lock;
30 Lock lk(m);
38 Lock lk(m);
49 Lock lk(m);
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.condition/thread.condition.condvar/
destructor.pass.cpp 25 typedef std::unique_lock<std::mutex> Lock;
32 Lock lk(m);
40 Lock lk(m);
51 Lock lk(m);
  /bionic/libc/private/
bionic_lock.h 35 // Lock is used in places like pthread_rwlock_t, which can be initialized without calling
36 // an initialization function. So make sure Lock can be initialized by setting its memory to 0.
37 class Lock {
59 void lock() { function in class:Lock
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyRegion/
LegacyRegion.h 75 EFI_LEGACY_REGION_LOCK Lock;
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/SmmAccess/
SmmAccess.h 71 EFI_SMM_LOCK Lock;
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/
EfiDriverLib.h 562 // Lock.c
567 UINTN Lock;
572 IN OUT EFI_LOCK *Lock,
579 Initialize a basic mutual exclusion lock. Each lock
582 multiprocessor support, acquiring the lock only consists
586 lock usage.
590 Lock - The EFI_LOCK structure to initialize
592 Priority - The task priority level of the lock
597 An initialized Efi Lock structure.
    [all...]

Completed in 784 milliseconds

1 2 3 4 5 6 7 8 9