RE: A signal fairy tale - a little comphist

From: Christopher Smith (x@xman.org)
Date: Fri Jun 29 2001 - 03:16:33 EST


At 03:57 PM 6/28/2001 +0200, Heusden, Folkert van wrote:
>[...]
> > A signal number cannot be opened more than once concurrently;
> > sigopen() thus provides a way to avoid signal usage clashes
> > in large programs.
>YOU> Signals are a pretty dopey API anyway -
>
>Exactly. When signals were made up, signalhandlers were supposed to
>not so much more then a last cry and then exit the application. sigHUP
>to re-read the config was not supposed to happen.
>
>YOU> so instead of trying to patch
>YOU> them up, why not think of something better for AIO?
>
>Yeah, a select() on excepfds.

POSIX AIO API's are significantly more powerful then using select(),
particularly for certain types of applications. select() doesn't provide
you with a good way to perform I/O operations at different offsets
simultaneously, doesn't allow for I/O priority, etc.

--Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:21 EST