Re: kqueue
[email protected] (Marc Lehmann)
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 23, 2000 at 11:17:20AM -0400, Joshua N Pritikin <[email protected]> wrote: > > please show me where in linux is the support for asynch file I/O. i have > > not found it. > > Agreed. SIGIO != asynchronous I/O; SIGIO is a hack. First of all, SIGIO *is* very nice if you want to do aio. Why do you consider it a hack? It seems to me exactly equivalent to kqueue: you tell the kernel "please deliver me signal number xyz" and the kernel delivers you the signal + the event information you need. Vastly better than select in most cases Event is being used. not very scalable (you need to do select if the kernel event queue overflows) for high number of events, but for a low number of events it has the requested low overhead. select/poll is difficult to beat anyway in high load situations. -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / [email protected] |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |