Re: context switch vs. signal delivery [was: Re: Accelerating user mode

Benjamin LaHaise
2002-08-08T02:18:02Z

On Wed, Aug 07, 2002 at 10:14:42PM -0500, Jeff Dike wrote:
> I'm not sure if this makes any sense, but coupling the new aio mechanism with
> something that queues up siginfos might be interesting. It would be a magic
> descriptor that would feed you signals when you read it.
>
> Is that at all sane?

Delivering signals from aio completion is indeed possible. There is
even a field in the iocb structure for doing this in order to provide
complete posix compatibility (well, except for the fact that structure
initialization is enforced).

-ben
--
"You will be reincarnated as a toad; and you will be much happier."