/libcore/luni/src/main/java/java/util/concurrent/locks/ |
H A D | Condition.java | 63 * <b>notEmpty.signal();</b> 77 * <b>notFull.signal();</b> 105 * {@linkplain #await waiting} and {@linkplain #signal signalling} methods. 161 * <li>Some other thread invokes the {@link #signal} method for this 196 * method return in response to a signal. In that case the implementation 197 * must ensure that the signal is redirected to another waiting thread, if 212 * <li>Some other thread invokes the {@link #signal} method for this 249 * <li>Some other thread invokes the {@link #signal} method for this 315 * method return in response to a signal, or over indicating the elapse 317 * must ensure that the signal i 440 void signal(); method in interface:Condition [all...] |
H A D | AbstractQueuedLongSynchronizer.java | 121 * inserted into a condition queue. Upon signal, the node is 154 * first indicate they need a signal, 175 * signal. So, most code doesn't need to check for particular 390 * If status is negative (i.e., possibly needing signal) try 418 * to calling unparkSuccessor of head if it needs signal.) 425 * signal. But if it does not, status is set to PROPAGATE to 462 * Try to signal next queued node if: 504 // or signal, so no further action is necessary. 516 // If successor needs signal, try to set pred's next-link 536 * Returns true if thread should block. This is the main signal 1687 public final void signal() { method in class:AbstractQueuedLongSynchronizer.ConditionObject [all...] |
H A D | AbstractQueuedSynchronizer.java | 234 * except that it only requires a single {@code signal} to 256 * public void signal() { sync.releaseShared(1); } 347 * inserted into a condition queue. Upon signal, the node is 380 * first indicate they need a signal, 401 * signal. So, most code doesn't need to check for particular 616 * If status is negative (i.e., possibly needing signal) try 644 * to calling unparkSuccessor of head if it needs signal.) 651 * signal. But if it does not, status is set to PROPAGATE to 688 * Try to signal next queued node if: 730 // or signal, s 1911 public final void signal() { method in class:AbstractQueuedSynchronizer.ConditionObject [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | LinkedBlockingQueue.java | 61 * items have been entered since the signal. And symmetrically for 142 notEmpty.signal(); 155 notFull.signal(); 323 notFull.signal(); 358 notFull.signal(); 392 notFull.signal(); 415 notEmpty.signal(); 440 notEmpty.signal(); 462 notEmpty.signal(); 500 notFull.signal(); [all...] |
H A D | DelayQueue.java | 55 * signal some other thread before returning from take() or 115 available.signal(); 205 available.signal(); 256 available.signal();
|
H A D | ArrayBlockingQueue.java | 125 notEmpty.signal(); 143 notFull.signal(); 182 notFull.signal(); 632 notFull.signal(); 690 notFull.signal();
|
H A D | LinkedBlockingDeque.java | 197 notEmpty.signal(); 216 notEmpty.signal(); 238 notFull.signal(); 260 notFull.signal(); 282 notFull.signal();
|
H A D | ScheduledThreadPoolExecutor.java | 845 * signal some other thread before returning from take() or 1021 available.signal(); 1100 available.signal(); 1142 available.signal();
|
H A D | PriorityBlockingQueue.java | 454 notEmpty.signal();
|
/libcore/luni/src/main/native/ |
H A D | AsynchronousCloseMonitor.cpp | 23 #include <signal.h> 38 * The specific signal chosen here is arbitrary, but bionic needs to know so that SIGRTMIN 47 static void blockedThreadSignalHandler(int /*signal*/) { 48 // Do nothing. We only sent this signal for its side-effect of interrupting syscalls. 52 // Ensure that the signal we send interrupts system calls but doesn't kill threads. 54 // (The whole reason we're sending this signal is to unblock system calls!) 61 ALOGE("setting blocked thread signal handler failed: %s", strerror(errno));
|
H A D | android_system_OsConstants.cpp | 29 #include <signal.h>
|
H A D | libcore_io_Posix.cpp | 44 #include <signal.h> 130 * Used to retry networking system calls that can be interrupted with a signal. Unlike 132 * AsynchronousCloseMonitor::signalBlockedThreads(fd) is used to signal a close() or 166 * Used to retry system calls that can be interrupted with a signal. Unlike TEMP_FAILURE_RETRY, this 167 * also handles the case where AsynchronousCloseMonitor::signalBlockedThreads(fd) is used to signal 1773 static jstring Posix_strsignal(JNIEnv* env, jobject, jint signal) { argument 1774 return env->NewStringUTF(strsignal(signal));
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | SocketTest.java | 359 final CountDownLatch signal = new CountDownLatch(1); 373 signal.countDown(); 385 boolean connectUnblocked = signal.await(2000, TimeUnit.MILLISECONDS);
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | Os.java | 97 public void kill(int pid, int signal) throws ErrnoException; argument 158 public String strsignal(int signal); argument
|
H A D | ForwardingOs.java | 105 public void kill(int pid, int signal) throws ErrnoException { os.kill(pid, signal); } argument 165 public String strsignal(int signal) { return os.strsignal(signal); } argument
|
H A D | Posix.java | 99 public native void kill(int pid, int signal) throws ErrnoException; argument 242 public native String strsignal(int signal); argument
|
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 241 public static void kill(int pid, int signal) throws ErrnoException { Libcore.os.kill(pid, signal); } argument 510 public static String strsignal(int signal) { return Libcore.os.strsignal(signal); } argument
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ReentrantLockTest.java | 510 * Calling signal without holding lock throws IllegalMonitorStateException 518 c.signal(); 524 * awaitNanos without a signal times out 544 * timed await without a signal times out 562 * awaitUntil without a signal times out 600 c.signal(); 758 c.signal(); 1008 * signal wakes up waiting threads in FIFO order 1041 c.signal(); 1045 c.signal(); [all...] |
H A D | ReentrantReadWriteLockTest.java | 897 * Calling signal without holding lock throws IllegalMonitorStateException 905 c.signal(); 925 * awaitNanos without a signal times out 946 * timed await without a signal times out 965 * awaitUntil without a signal times out 1005 c.signal(); 1138 * signal wakes up waiting threads in FIFO order 1172 c.signal(); 1176 c.signal(); 1542 c.signal(); [all...] |
H A D | AbstractQueuedLongSynchronizerTest.java | 627 * Calling signal without holding sync throws IllegalMonitorStateException 633 c.signal(); 652 * await/awaitNanos/awaitUntil without a signal times out 688 c.signal(); 831 c.signal(); 987 c.signal();
|
H A D | AbstractQueuedSynchronizerTest.java | 630 * Calling signal without holding sync throws IllegalMonitorStateException 636 c.signal(); 655 * await/awaitNanos/awaitUntil without a signal times out 691 c.signal(); 834 c.signal(); 990 c.signal();
|