Lines Matching refs:timeout
89 public EventSet remove(long timeout) throws InterruptedException {
90 if (timeout < 0) {
96 EventSetImpl fullEventSet = removeUnfiltered(timeout);
98 eventSet = null; // timeout
137 private TimerThread startTimerThread(long timeout) {
138 TimerThread thread = new TimerThread(timeout);
149 private EventSetImpl removeUnfiltered(long timeout)
168 * If a timeout was specified, create a thread to
169 * notify this one when a timeout
178 * a timeout from a notify. That limitation implies a
184 if (timeout > 0) {
185 timerThread = startTimerThread(timeout);
218 private long timeout;
220 TimerThread(long timeout) {
222 this.timeout = timeout;
231 Thread.sleep(timeout);