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

1 2

  /libcore/luni/src/main/java/java/util/concurrent/locks/
package-info.java 11 * locks and conditions, at the expense of more awkward syntax.
13 * <p>The {@link java.util.concurrent.locks.Lock} interface supports
17 * is {@link java.util.concurrent.locks.ReentrantLock}.
19 * <p>The {@link java.util.concurrent.locks.ReadWriteLock} interface
20 * similarly defines locks that may be shared among readers but are
22 * java.util.concurrent.locks.ReentrantReadWriteLock}, is provided, since
26 * <p>The {@link java.util.concurrent.locks.Condition} interface
27 * describes condition variables that may be associated with Locks.
35 * <p>The {@link java.util.concurrent.locks.AbstractQueuedSynchronizer}
36 * class serves as a useful superclass for defining locks and othe
    [all...]
ReadWriteLock.java 7 package java.util.concurrent.locks;
11 * Lock locks}, one for read-only operations and one for writing.
71 * <li>Determining whether the locks are reentrant: can a thread with the
UnsafeAccess.java 17 package java.util.concurrent.locks;
AbstractOwnableSynchronizer.java 7 package java.util.concurrent.locks;
11 * class provides a basis for creating locks and related synchronizers
Lock.java 7 package java.util.concurrent.locks;
21 * acquired first. However, some locks may allow concurrent access to
27 * when multiple locks are acquired they must be released in the opposite
28 * order, and all locks must be released in the same lexical scope in which
32 * and statements makes it much easier to program with monitor locks,
33 * and helps avoid many common programming errors involving locks,
34 * there are occasions where you need to work with locks in a more
42 * and allowing multiple locks to be acquired and released in any
47 * automatic release of locks that occurs with {@code synchronized}
Condition.java 7 package java.util.concurrent.locks;
LockSupport.java 7 package java.util.concurrent.locks;
13 * Basic thread blocking primitives for creating locks and other
ReentrantLock.java 7 package java.util.concurrent.locks;
28 * contention, locks favor granting access to the longest-waiting
30 * access order. Programs using fair locks accessed by many threads
33 * variances in times to obtain locks and guarantee lack of
34 * starvation. Note however, that fairness of locks does not guarantee
70 * locks: a deserialized lock is in the unlocked state, regardless of
73 * <p>This lock supports a maximum of 2147483647 recursive locks by
172 * Sync object for non-fair locks
194 * Sync object for fair locks
465 * but for <em>fair</em> locks favors those threads that have bee
    [all...]
ReentrantReadWriteLock.java 7 package java.util.concurrent.locks;
62 * write locks in the style of a {@link ReentrantLock}. Non-reentrant
63 * readers are not allowed until all write locks held by the writing
68 * when write locks are held during calls or callbacks to methods that
69 * perform reads under read locks. If a reader tries to acquire the
94 * <p>This class supports methods to determine whether locks
100 * locks: a deserialized lock is in the unlocked state, regardless of
105 * particularly tricky when handling multiple locks in a non-nested
181 * <p>This lock supports a maximum of 65535 recursive write locks
182 * and 65535 read locks. Attempts to exceed these limits result i
    [all...]
AbstractQueuedLongSynchronizer.java 7 package java.util.concurrent.locks;
23 * multilevel locks and barriers that require
55 * Hagersten) lock queue. CLH locks are normally used for
64 * granted locks etc though. A thread may try to acquire if it is
85 * <p>The "prev" links (not used in original CLH locks), are mainly
89 * of spin locks, see the papers by Scott and Scherer at
    [all...]
AbstractQueuedSynchronizer.java 7 package java.util.concurrent.locks;
17 * Provides a framework for implementing blocking locks and related
37 * appropriate by concrete locks and related synchronizers to
104 * determining which threads hold locks.
279 * Hagersten) lock queue. CLH locks are normally used for
288 * granted locks etc though. A thread may try to acquire if it is
309 * <p>The "prev" links (not used in original CLH locks), are mainly
313 * of spin locks, see the papers by Scott and Scherer at
    [all...]
  /bionic/libc/kernel/common/linux/
blockgroup_lock.h 25 struct bgl_lock locks[NR_BG_LOCKS]; member in struct:blockgroup_lock
28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
  /development/ndk/platforms/android-3/include/linux/
blockgroup_lock.h 25 struct bgl_lock locks[NR_BG_LOCKS]; member in struct:blockgroup_lock
28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
  /external/kernel-headers/original/linux/
blockgroup_lock.h 41 struct bgl_lock locks[NR_BG_LOCKS]; member in struct:blockgroup_lock
49 spin_lock_init(&bgl->locks[i].lock);
57 (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
blockgroup_lock.h 25 struct bgl_lock locks[NR_BG_LOCKS]; member in struct:blockgroup_lock
28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/
blockgroup_lock.h 25 struct bgl_lock locks[NR_BG_LOCKS]; member in struct:blockgroup_lock
28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/
blockgroup_lock.h 25 struct bgl_lock locks[NR_BG_LOCKS]; member in struct:blockgroup_lock
28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/
blockgroup_lock.h 25 struct bgl_lock locks[NR_BG_LOCKS]; member in struct:blockgroup_lock
28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/
blockgroup_lock.h 25 struct bgl_lock locks[NR_BG_LOCKS]; member in struct:blockgroup_lock
28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/
blockgroup_lock.h 25 struct bgl_lock locks[NR_BG_LOCKS]; member in struct:blockgroup_lock
28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
  /libcore/luni/src/main/java/org/apache/harmony/nio/internal/
LockManager.java 27 * The lock manager is responsible for tracking acquired and pending locks on
32 // The set of acquired and pending locks.
41 private final SortedSet<FileLock> locks = new TreeSet<FileLock>( field in class:LockManager
59 for (Iterator<FileLock> keyItr = locks.iterator(); keyItr.hasNext();) {
62 // This, and all remaining locks, start beyond our end (so
70 locks.add(lock);
78 locks.remove(lock);
  /external/clearsilver/util/
skiplist.c 32 UINT32 locks; /* count of locks on value */ member in struct:skipItem
92 x->locks++;
119 cWait(&list->flush, &list->read); /* wait until reader locks released */
158 (*item)->locks = 0;
187 if(force || (! y->locks)) { /* check if value currently locked */
225 readBlock(list); /* acquire all read locks */
274 else { /* didn't find item, don't allow locks */
298 else { /* no next item, don't allow locks */
315 x->locks--
    [all...]
  /external/dbus/dbus/
dbus-threads.c 54 * Functions and macros related to threads and thread locks.
138 * Locks a mutex. Does nothing if passed a #NULL pointer.
139 * Locks may be recursive if threading implementation initialized
140 * recursive locks.
245 * variable to be signalled. Locks the mutex again before
259 * to be signalled, or for a timeout. Locks the mutex again before
306 DBusMutex ***locks = data; local
312 _dbus_mutex_free (*(locks[i]));
313 *(locks[i]) = NULL;
317 dbus_free (locks);
    [all...]
  /prebuilt/sdk/10/
android.jar 
  /prebuilt/sdk/9/
android.jar 

Completed in 229 milliseconds

1 2