Searched refs:wakeup (Results 1 - 25 of 43) sorted by relevance

12

/openjdk7/jdk/test/java/nio/channels/Selector/
H A DWakeupOverflow.java26 * @summary Check for overflow of wakeup buffer
36 selector.wakeup();
H A DWakeupEmpty.java26 * @summary Checks that wakeup works for an empty Selector
46 sel.wakeup();
H A DWakeup.java26 * @summary Unit test for selector wakeup and interruption
139 sel.wakeup();
151 sel.wakeup();
155 // Double wakeup
157 sel.wakeup();
159 sel.wakeup();
160 sel.wakeup();
175 sel.wakeup();
H A DWakeupAfterClose.java26 * @summary Invoking wakeup on closed Selector can throw NPE if close resets interrupt status
54 // interrupt, close, and wakeup is the magic sequence to provoke the NPE
57 sel.wakeup();
H A DWakeupSpeed.java26 * @summary Tests wether wakeup makes the next select() call return immediately
39 selector.wakeup();
H A DRacyDeregister.java84 sel.wakeup();
99 sel.wakeup();
108 sel.wakeup();
113 sel.wakeup();
H A DSelectAndClose.java55 // Try to close. This should wakeup select.
71 selector.wakeup();
H A DWakeupNow.java26 * @summary Ensure that the wakeup state is cleared by selectNow()
38 // Test if selectNow clears wakeup with the wakeup fd and
46 sel.wakeup();
47 // ensure wakeup is consumed by selectNow
60 // Test if selectNow clears wakeup with only the wakeup fd
67 sel.wakeup();
68 // ensure wakeup is consumed by selectNow
H A DCheckLocking.java63 selector.wakeup();
H A DSelectAndCancel.java65 // Try to close. This should wakeup select.
84 selector.wakeup();
H A DCloseWhenKeyIdle.java38 // indicates if the wakeup has happened
55 sel.wakeup();
105 // schedule wakeup after a few seconds
123 // wakeup
127 // wakeup for no reason - if it happens a few times then we have a
/openjdk7/jdk/test/javax/swing/JEditorPane/
H A Dbug4714674.java48 server.wakeup = true;
82 boolean wakeup = false; field in class:DeafServer
114 while (! wakeup) {
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DSelector.java170 * <li><p> By invoking the selector's {@link #wakeup wakeup} method,
178 * interrupt status will be set and the selector's {@link #wakeup wakeup}
286 * of the {@link #wakeup wakeup} method. </p>
305 * this selector's {@link #wakeup wakeup} method is invoked, the current
338 * this selector's {@link #wakeup wakeup} metho
371 public abstract Selector wakeup(); method in class:Selector
[all...]
/openjdk7/jdk/test/com/sun/management/GarbageCollectorMXBean/
H A DGarbageCollectionNotificationTest.java112 int wakeup = 0;
116 wakeup++;
117 if(wakeup > 10)
H A DGarbageCollectionNotificationContentTest.java113 int wakeup = 0;
117 wakeup++;
118 if(wakeup > 10)
/openjdk7/jdk/src/share/sample/nio/server/
H A DDispatcherN.java88 sel.wakeup();
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DEPollPort.java54 // socket pair used for wakeup
91 // create socket pair for wakeup mechanism
132 private void wakeup() { method in class:EPollPort
134 // write byte to socketpair to force wakeup
149 wakeup();
157 * write to the one end of the socketpair to wakeup any polling threads.
165 wakeup();
207 // wakeup
229 // the last one except for the wakeup
278 // handle wakeup t
[all...]
H A DKQueuePort.java51 // socket pair used for wakeup
88 // create socket pair for wakeup mechanism
130 private void wakeup() { method in class:KQueuePort
132 // write byte to socketpair to force wakeup
147 wakeup();
155 * write to the one end of the socketpair to wakeup any polling threads.
163 wakeup();
209 // wakeup
237 // the last one except for the wakeup
286 // handle wakeup t
[all...]
H A DSolarisEventPort.java96 private void wakeup() { method in class:SolarisEventPort
110 wakeup();
118 * write to the one end of the socketpair to wakeup any polling threads..
124 // send user event to wakeup each thread
H A DPollSelectorImpl.java80 // Clear the wakeup pipe
91 // prevent further wakeup
102 public Selector wakeup() { method in class:PollSelectorImpl
/openjdk7/jdk/test/java/nio/file/Files/
H A DInterruptCopy.java80 Future<?> wakeup = pool.schedule(new Runnable() {
98 wakeup.get();
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DSelectorImpl.java110 wakeup();
166 abstract public Selector wakeup(); method in class:SelectorImpl
/openjdk7/jdk/src/share/classes/java/nio/channels/spi/
H A DAbstractSelector.java122 * java.nio.channels.Selector#wakeup wakeup} method. </p>
202 * Selector#wakeup wakeup} method to be invoked if a thread's {@link
210 AbstractSelector.this.wakeup();
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DAbstractPoller.java73 abstract void wakeup() throws IOException; method in class:AbstractPoller
221 // wakeup thread
222 wakeup();
/openjdk7/hotspot/src/os/windows/vm/
H A DattachListener_windows.cpp85 // used to wakeup the listener
87 static HANDLE wakeup() { return _wakeup; } function in class:Win32AttachListener
223 // wakeup the thread waiting for operations
224 ::ReleaseSemaphore(wakeup(), 1, NULL);
235 DWORD res = ::WaitForSingleObject(wakeup(), INFINITE);

Completed in 59 milliseconds

12