OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:unpark
(Results
1 - 18
of
18
) sorted by null
/libcore/luni/src/main/java/java/util/concurrent/locks/
LockSupport.java
20
* it <em>may</em> block. A call to {@code
unpark
} makes the permit
24
* <p>Methods {@code park} and {@code
unpark
} provide efficient
29
* to {@code
unpark
} it will preserve liveness, due to the
36
* spinning, but must be paired with an {@code
unpark
} to be
86
* LockSupport.
unpark
(waiters.peek());
118
* @param thread the thread to
unpark
, or {@code null}, in which case
121
public static void
unpark
(Thread thread) {
method in class:LockSupport
123
unsafe.
unpark
(thread);
136
* <li>Some other thread invokes {@link #
unpark
unpark
} with th
[
all
...]
AbstractQueuedLongSynchronizer.java
150
*
unpark
its successor when it releases or
397
* Thread to
unpark
is held in successor, which is normally
410
LockSupport.
unpark
(s.thread);
[
all
...]
AbstractQueuedSynchronizer.java
381
*
unpark
its successor when it releases or
628
* Thread to
unpark
is held in successor, which is normally
641
LockSupport.
unpark
(s.thread);
[
all
...]
/libcore/luni/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/
ThreadsTest.java
63
/** Test the case where the
unpark
happens before the timeout. */
80
UNSAFE.
unpark
(parkerThread);
97
/** Test the case where the
unpark
happens before the timeout. */
114
UNSAFE.
unpark
(parkerThread);
249
UNSAFE.
unpark
(thread);
/libcore/luni/src/main/java/sun/misc/
Unsafe.java
307
* a previous call to {@link #
unpark
}. This method may also return
308
* spuriously (that is, without the thread being told to
unpark
333
* @param obj non-null; the object to
unpark
335
public void
unpark
(Object obj) {
method in class:Unsafe
337
((Thread) obj).
unpark
();
method
/dalvik/tests/067-preemptive-unpark/src/
Main.java
16
UNSAFE.
unpark
(test);
/libcore/luni/src/main/java/java/util/concurrent/
Exchanger.java
322
LockSupport.
unpark
(you.waiter);
541
LockSupport.
unpark
(you.waiter);
SynchronousQueue.java
105
* Blocking is mainly accomplished using LockSupport park/
unpark
,
204
volatile Thread waiter; // to control park/
unpark
232
if (w != null) { // waiters need at most one
unpark
234
LockSupport.
unpark
(w);
493
volatile Thread waiter; // to control park/
unpark
664
LockSupport.
unpark
(m.waiter);
[
all
...]
/libcore/luni/src/test/java/libcore/java/lang/
OldThreadTest.java
118
LockSupport.
unpark
(parker);
/libcore/luni/src/main/java/java/lang/
Thread.java
1151
public void
unpark
() {
method in class:Thread
[
all
...]
/prebuilt/sdk/10/
android.jar
/prebuilt/sdk/11/
android.jar
/prebuilt/sdk/13/
android.jar
/prebuilt/sdk/15/
android.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/7/
android.jar
/prebuilt/sdk/8/
android.jar
/prebuilt/sdk/9/
android.jar
Completed in 4923 milliseconds