Searched refs:wakeups (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/test/java/nio/channels/Selector/
H A DWakeup.java49 volatile int wakeups = 0; field in class:Wakeup.Sleeper
74 wakeups++;
75 System.err.println("Wakeup " + wakeups
78 if (wakeups > 1000)
79 throw new Exception("Too many wakeups");
99 if (sleeper.wakeups > checkedWakeups) {
104 while (sleeper.wakeups < checkedWakeups) {
112 if (sleeper.wakeups > checkedWakeups) {
114 throw new Exception("Too many wakeups: Expected "
116 + ", got " + sleeper.wakeups);
[all...]

Completed in 29 milliseconds