OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MUTEX
(Results
1 - 3
of
3
) sorted by null
/external/guava/guava-tests/test/com/google/common/collect/
SynchronizedSetTest.java
44
public static final Object
MUTEX
= new Integer(1); // something Serializable
50
TestSet<String> inner = new TestSet<String>(new HashSet<String>(),
MUTEX
);
51
Set<String> outer = Synchronized.set(inner, inner.
mutex
);
66
public final Object
mutex
;
68
public TestSet(Set<E> delegate, Object
mutex
) {
69
checkNotNull(
mutex
);
71
this.
mutex
=
mutex
;
79
assertTrue(Thread.holdsLock(
mutex
));
84
assertTrue(Thread.holdsLock(
mutex
));
[
all
...]
SynchronizedNavigableSetTest.java
44
private static final Object
MUTEX
= new Integer(1); // something Serializable
49
new TreeSet<E>((Comparator<E>) Ordering.natural().nullsFirst()),
MUTEX
);
51
Synchronized.navigableSet(inner,
MUTEX
);
58
TestSet(NavigableSet<E> delegate, Object
mutex
) {
59
super(delegate,
mutex
);
67
assertTrue(Thread.holdsLock(
mutex
));
76
assertTrue(Thread.holdsLock(
mutex
));
81
assertTrue(Thread.holdsLock(
mutex
));
86
assertTrue(Thread.holdsLock(
mutex
));
95
assertTrue(Thread.holdsLock(
mutex
));
[
all
...]
/external/libvncserver/rfb/
rfb.h
67
#define LOCK(
mutex
) (rfbLog("%s:%d LOCK(%s,0x%x)\n",__FILE__,__LINE__,#
mutex
,&(
mutex
)), pthread_mutex_lock(&(
mutex
)))
68
#define UNLOCK(
mutex
) (rfbLog("%s:%d UNLOCK(%s,0x%x)\n",__FILE__,__LINE__,#
mutex
,&(
mutex
)), pthread_mutex_unlock(&(
mutex
)))
69
#define
MUTEX
(
mutex
) pthread_mutex_t (mutex
[
all
...]
Completed in 267 milliseconds