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

From: Benjamin LaHaise (bcrl@redhat.com)
Date: Wed Aug 07 2002 - 21:21:42 EST


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."
-
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 : Wed Aug 07 2002 - 22:00:39 EST