Searched defs:signal (Results 1 - 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
H A DNativeThread.java34 // upon which Java threads are built, and defines a simple signal mechanism
37 // always returns -1 and the signal(long) method has no effect.
52 static native void signal(long nt); method in class:NativeThread
/libcore/luni/src/main/java/java/util/concurrent/locks/
H A DCondition.java63 * <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 DAbstractQueuedLongSynchronizer.java177 * If status is negative (i.e., possibly needing signal) try
205 * to calling unparkSuccessor of head if it needs signal.)
212 * signal. But if it does not, status is set to PROPAGATE to
249 * Try to signal next queued node if:
293 // or signal, so no further action is necessary.
305 // If successor needs signal, try to set pred's next-link
325 * Returns true if thread should block. This is the main signal
337 * to signal it, so it can safely park.
352 * need a signal, but don't park yet. Caller will need to
1195 * cancelled before signal)
1464 public final void signal() { method in class:AbstractQueuedLongSynchronizer.ConditionObject
[all...]
H A DAbstractQueuedSynchronizer.java230 * except that it only requires a single {@code signal} to
252 * public void signal() { sync.releaseShared(1); }
343 * inserted into a condition queue. Upon signal, the node is
376 * first indicate they need a signal,
397 * signal. So, most code doesn't need to check for particular
644 * If status is negative (i.e., possibly needing signal) try
672 * to calling unparkSuccessor of head if it needs signal.)
679 * signal. But if it does not, status is set to PROPAGATE to
716 * Try to signal next queued node if:
760 // or signal, s
1933 public final void signal() { method in class:AbstractQueuedSynchronizer.ConditionObject
[all...]
/libcore/luni/src/main/java/android/system/
H A DOs.java247 public static void kill(int pid, int signal) throws ErrnoException { Libcore.os.kill(pid, signal); } argument
516 public static String strsignal(int signal) { return Libcore.os.strsignal(signal); } argument
/libcore/luni/src/main/java/libcore/io/
H A DForwardingOs.java105 public void kill(int pid, int signal) throws ErrnoException { os.kill(pid, signal); } argument
166 public String strsignal(int signal) { return os.strsignal(signal); } argument
H A DOs.java97 public void kill(int pid, int signal) throws ErrnoException; argument
159 public String strsignal(int signal); argument
H A DPosix.java99 public native void kill(int pid, int signal) throws ErrnoException; argument
243 public native String strsignal(int signal); argument
/libcore/luni/src/main/native/
H A Dlibcore_io_Posix.cpp44 #include <signal.h>
132 * Used to retry networking system calls that can be interrupted with a signal. Unlike
134 * AsynchronousCloseMonitor::signalBlockedThreads(fd) is used to signal a close() or
172 * Used to retry system calls that can be interrupted with a signal. Unlike TEMP_FAILURE_RETRY, this
173 * also handles the case where AsynchronousCloseMonitor::signalBlockedThreads(fd) is used to signal
1870 static jstring Posix_strsignal(JNIEnv* env, jobject, jint signal) { argument
1871 return env->NewStringUTF(strsignal(signal));

Completed in 217 milliseconds