Home
last modified time | relevance | path

Searched refs:poller (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/native/
DSocketChannelImpl.c60 struct pollfd poller; in Java_sun_nio_ch_SocketChannelImpl_checkConnect() local
62 poller.revents = 1; in Java_sun_nio_ch_SocketChannelImpl_checkConnect()
64 poller.fd = fd; in Java_sun_nio_ch_SocketChannelImpl_checkConnect()
65 poller.events = POLLOUT; in Java_sun_nio_ch_SocketChannelImpl_checkConnect()
66 poller.revents = 0; in Java_sun_nio_ch_SocketChannelImpl_checkConnect()
67 result = poll(&poller, 1, block ? -1 : 0); in Java_sun_nio_ch_SocketChannelImpl_checkConnect()
76 if (poller.revents) { in Java_sun_nio_ch_SocketChannelImpl_checkConnect()
/libcore/ojluni/src/main/java/sun/nio/fs/
DLinuxWatchService.java56 private final Poller poller; field in LinuxWatchService
82 this.poller = new Poller(fs, this, ifd, sp); in LinuxWatchService()
83 this.poller.start(); in LinuxWatchService()
93 return poller.register(dir, events, modifiers); in register()
99 poller.close(); in implClose()
141 ((LinuxWatchService)watcher()).poller.cancel(this); in cancel()
DPollingWatchService.java235 private ScheduledFuture<?> poller;
289 this.poller = scheduledExecutor
297 if (poller != null)
298 poller.cancel(false);