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

1 2 3 4 5 6

  /dalvik/libcore/concurrent/src/main/java/java/util/concurrent/locks/
ReadWriteLock.java 11 * Lock locks}, one for read-only operations and one for writing.
12 * The {@link #readLock read lock} may be held simultaneously by
14 * {@link #writeLock write lock} is exclusive.
18 * (as specified in the {@link Lock} interface) also hold with respect
20 * acquiring the read lock will see all updates made upon previous
21 * release of the write lock.
23 * <p>A read-write lock allows for a greater level of concurrency in
24 * accessing shared data than that permitted by a mutual exclusion lock.
30 * lock will lead to performance improvements over the use of a mutual
31 * exclusion lock. In practice this increase in concurrency will only be full
    [all...]
Lock.java 11 * {@code Lock} implementations provide more extensive locking
17 * <p>A lock is a tool for controlling access to a shared resource by
18 * multiple threads. Commonly, a lock provides exclusive access to a
19 * shared resource: only one thread at a time can acquire the lock and
20 * all access to the shared resource requires that the lock be
22 * a shared resource, such as the read lock of a {@link ReadWriteLock}.
25 * access to the implicit monitor lock associated with every object, but
26 * forces all lock acquisition and release to occur in a block-structured way:
38 * acquire the lock of node A, then node B, then release A and acquire
40 * {@code Lock} interface enable the use of such techniques b
154 void lock(); method in interface:Lock
    [all...]
  /external/opencore/oscl/oscl/osclbase/src/
oscl_lock_base.h 32 * \brief This file defines an abstract lock class, OsclLockBase,
34 * A null-lock implementation, OsclNullLock, is also provided for
35 * single-thread configurations (basically a noop for lock/unlock).
37 * takes care of freeing the lock when the class goes out of scope.
48 virtual void Lock() = 0;
58 virtual void Lock() {};
69 * the lock is released when the OsclScopedLock goes out of scope.
109 * @brief acquire() method acquires ownership of the lock.
116 _Ptr->Lock();
oscl_base.h 63 * the thread lock that is used to avoid thread contention
65 * OsclBase::Cleanup will cleanup the thread lock.
99 * _OsclBasicLock is a simple thread lock class for internal use by
119 * Takes the lock
122 OSCL_IMPORT_REF void Lock();
125 * Releases the lock
oscl_singleton.cpp 36 sSingletonTable.iSingletonLocks[ID].Lock();
47 sSingletonTable.iSingletonLocks[ID].Lock();
57 sSingletonTable.iSingletonLocks[ID].Lock();
  /development/host/windows/usb/api/
adb_api_instance.cpp 36 adb_app_instance_map_locker.Lock();
adb_object_handle.cpp 67 // We have to hold this lock while we're dealing with the handle
69 the_map_locker.Lock();
106 the_map_locker.Lock();
151 the_map_locker.Lock();
  /external/opencore/oscl/oscl/osclproc/src/
oscl_mutex.h 87 OSCL_IMPORT_REF void Lock();
90 * Try to lock the mutex,if the Mutex is already locked calling thread
143 * CPU-yielding operations include OsclMutex::Lock, OsclSemphore::Wait,
205 void Lock()
215 * Try to lock the mutex,if the Mutex is already locked calling thread
233 Lock();
293 OSCL_IMPORT_REF void Lock();
oscl_mutex.cpp 82 OSCL_EXPORT_REF void OsclMutex::Lock()
94 * Try to lock the mutex,if the Mutex is already locked calling thread
206 OSCL_EXPORT_REF void OsclThreadLock::Lock()
208 iMutex.Lock();
  /external/qemu/distrib/sdl-1.2.12/src/video/
SDL_yuvfuncs.h 33 int (*Lock)(_THIS, SDL_Overlay *overlay);
  /external/v8/test/cctest/
test-lock.cc 3 // Tests of the TokenLock class from lock.h
19 CHECK_EQ(0, mutex->Lock()); // acquire the lock with the right token
27 CHECK_EQ(0, mutex->Lock());
35 CHECK_EQ(0, mutex->Lock());
37 CHECK_EQ(0, mutex->Lock());
  /external/opencore/baselibs/gen_data_structures/src/
pv_string.cpp 39 src.rep->mutex.Lock();
47 rep->mutex.Lock();
62 src.rep->mutex.Lock();
64 rep->mutex.Lock();
86 rep->mutex.Lock();
106 rep->mutex.Lock();
143 rep->mutex.Lock();
  /external/opencore/oscl/oscl/osclio/src/
oscl_socket_serv_imp_reqlist.cpp 56 //Lock when adding requests to the input queue.
57 Lock();
79 Lock();
167 iCrit.Lock();
176 void OsclSocketServRequestList::Lock()
179 iCrit.Lock();
  /external/webkit/WebCore/platform/haiku/
PasteboardHaiku.cpp 57 if (!clipboard.Lock())
74 if (!clipboard.Lock())
97 if (!clipboard.Lock())
122 if (!clipboard.Lock())
145 if (!clipboard.Lock())
ClipboardHaiku.cpp 52 if (be_clipboard->Lock()) {
66 if (be_clipboard->Lock()) {
78 if (be_clipboard->Lock()) {
95 if (be_clipboard->Lock()) {
117 if (be_clipboard->Lock()) {
199 if (be_clipboard->Lock()) {
  /external/opencore/oscl/pvlogger/src/
pvlogger_mem_appender.h 33 template < class Layout, int32 LayoutBufferSize, class Lock = OsclNullLock >
39 static MemAppender<Layout, LayoutBufferSize, Lock>* CreateAppender(OSCL_TCHAR * filename, uint32 cacheSize = 0)
42 MemAppender<Layout, LayoutBufferSize, Lock> * appender = new MemAppender<Layout, LayoutBufferSize, Lock>();
47 OSCLMemAutoPtr<MemAppender<Layout, LayoutBufferSize, Lock>, Oscl_TAlloc<MemAppender<Layout, LayoutBufferSize, Lock>, OsclMemAllocator> > holdAppender(appender);
49 OSCLMemAutoPtr<MemAppender<Layout, LayoutBufferSize, Lock> > holdAppender(appender);
97 _lock.Lock();
191 Lock _lock;
pvlogger_stderr_appender.h 36 template < class Layout, int32 LayoutBufferSize, class Lock = OsclNullLock >
57 _lock.Lock();
116 Lock _lock;
  /external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
SDL_syswm.cc 54 SDL_Win->Lock();
68 SDL_Win->Lock();
  /external/opencore/baselibs/threadsafe_callback_ao/src/
threadsafe_queue.cpp 67 iQueueMut.Lock();
76 iQueueMut.Lock();
109 iQueueMut.Lock();
123 iQueueMut.Lock();
132 //note: don't do the callback under the lock, in order to allow
  /external/qemu/distrib/sdl-1.2.12/src/cdrom/macosx/
SDLOSXCAGuard.h 84 Lock() will return true if and only if the guard is locked on that call.
99 int (*Lock)(struct S_SDLOSXCAGuard *cag);
101 int (*Try)(struct S_SDLOSXCAGuard *cag, int *outWasLocked); /* returns true if lock is free, false if not */
  /external/opencore/oscl/oscl/osclregserv/src/
oscl_registry_serv_impl.cpp 117 iMutex.Lock();
128 iMutex.Lock();
141 iMutex.Lock();
164 iMutex.Lock();
175 iMutex.Lock();
203 iMutex.Lock();
222 iMutex.Lock();
  /external/opencore/android/
android_log_appender.h 42 template<class Layout, int32 LayoutBufferSize, class Lock = OsclNullLock>
62 _lock.Lock();
115 Lock _lock;
  /external/opencore/baselibs/thread_messaging/src/
pv_interface_proxy.cpp 219 iNotifierQueueCrit.Lock();
252 iNotifierQueueCrit.Lock();
278 iNotifierQueueCrit.Lock();
287 iHandlerQueueCrit.Lock();
301 iProxyListCrit.Lock();
311 iNotifierQueueCrit.Lock();
339 iHandlerQueueCrit.Lock();
373 iNotifierQueueCrit.Lock();
406 iProxyListCrit.Lock();
418 iProxyListCrit.Lock();
    [all...]
pv_interface_proxy_handler.cpp 35 iProxy->iHandlerQueueCrit.Lock();
pv_interface_proxy_notifier.cpp 35 iProxy->iNotifierQueueCrit.Lock();

Completed in 283 milliseconds

1 2 3 4 5 6