Searched defs:signal (Results 1 - 10 of 10) 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 public static native void signal(long nt); method in class:NativeThread
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
H A DCondition.java92 * <b>notEmpty.signal();</b>
106 * <b>notFull.signal();</b>
134 * {@linkplain #await waiting} and {@linkplain #signal signalling} methods.
190 * <li>Some other thread invokes the {@link #signal} method for this
225 * method return in response to a signal. In that case the implementation
226 * must ensure that the signal is redirected to another waiting thread, if
241 * <li>Some other thread invokes the {@link #signal} method for this
278 * <li>Some other thread invokes the {@link #signal} method for this
344 * method return in response to a signal, or over indicating the elapse
346 * must ensure that the signal i
469 void signal(); method in interface:Condition
[all...]
H A DAbstractQueuedLongSynchronizer.java206 * If status is negative (i.e., possibly needing signal) try
234 * to calling unparkSuccessor of head if it needs signal.)
241 * signal. But if it does not, status is set to PROPAGATE to
278 * Try to signal next queued node if:
322 // or signal, so no further action is necessary.
334 // If successor needs signal, try to set pred's next-link
354 * Returns true if thread should block. This is the main signal
366 * to signal it, so it can safely park.
381 * need a signal, but don't park yet. Caller will need to
1224 * cancelled before signal)
1493 public final void signal() { method in class:AbstractQueuedLongSynchronizer.ConditionObject
[all...]
H A DAbstractQueuedSynchronizer.java258 * except that it only requires a single {@code signal} to
280 * public void signal() { sync.releaseShared(1); }
371 * inserted into a condition queue. Upon signal, the node is
404 * first indicate they need a signal,
425 * signal. So, most code doesn't need to check for particular
672 * If status is negative (i.e., possibly needing signal) try
700 * to calling unparkSuccessor of head if it needs signal.)
707 * signal. But if it does not, status is set to PROPAGATE to
744 * Try to signal next queued node if:
788 // or signal, s
1957 public final void signal() { method in class:AbstractQueuedSynchronizer.ConditionObject
[all...]
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DAbstractWatchKey.java43 * Special event to signal overflow
92 final void signal() { method in class:AbstractWatchKey
158 signal();
/libcore/luni/src/main/java/android/system/
H A DOs.java279 public static void kill(int pid, int signal) throws ErrnoException { Libcore.os.kill(pid, signal); } argument
564 public static String strsignal(int signal) { return Libcore.os.strsignal(signal); } argument
/libcore/luni/src/main/java/libcore/io/
H A DForwardingOs.java120 public void kill(int pid, int signal) throws ErrnoException { os.kill(pid, signal); } argument
182 public String strsignal(int signal) { return os.strsignal(signal); } argument
H A DLinux.java111 public native void kill(int pid, int signal) throws ErrnoException; argument
256 public native String strsignal(int signal); argument
H A DOs.java106 public void kill(int pid, int signal) throws ErrnoException; argument
169 public String strsignal(int signal); argument
/libcore/luni/src/main/native/
H A Dlibcore_io_Linux.cpp30 #include <signal.h>
137 * Used to retry networking system calls that can be interrupted with a signal. Unlike
139 * AsynchronousCloseMonitor::signalBlockedThreads(fd) is used to signal a close() or
177 * Used to retry system calls that can be interrupted with a signal. Unlike TEMP_FAILURE_RETRY, this
178 * also handles the case where AsynchronousCloseMonitor::signalBlockedThreads(fd) is used to signal
2282 static jstring Linux_strsignal(JNIEnv* env, jobject, jint signal) { argument
2283 return env->NewStringUTF(strsignal(signal));

Completed in 391 milliseconds