[OT] poll() vs. AIO (was: [PATCH] ash: clear NONBLOCK flag from stdin when in foreground)
Baruch Siach
baruch at tkos.co.il
Fri Aug 19 04:29:46 UTC 2011
Hi Cathey,
On Thu, Aug 18, 2011 at 02:14:43PM -0700, Cathey, Jim wrote:
> Oh, and you have to manage
> the global poll/select timeout value yourself depending on everything
> that is going on in your program, rather than queuing up autonomous
> asynchronous timers, as many as needed, as just additional
> asynchronous blocking operations. Ugh.
Use timerfd. See timerfd_create(2).
baurch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the busybox
mailing list