Re: [take19 0/4] kevent: Generic event handling mechanism.

From: Ulrich Drepper
Date: Wed Oct 04 2006 - 03:33:16 EST


Evgeniy Polyakov wrote:
> When we enter sys_ppoll() we specify needed signals as syscall
> parameter, with kevents we will add them into the queue.

No, this is not sufficient as I said in the last mail. Why do you
completely ignore what others say. The code which depends on the signal
does not have to have access to the event queue. If a library sets up
an interrupt handler then it expect the signal to be delivered this way.
In such situations ppoll etc allow the signal to be generally blocked
and enabled only and *ATOMICALLY* around the delays. This is not
possible with the current wait interface. We need this signal mask
interfaces and the appropriate setup code.

Being able to get signal notifications does not mean this is always the
way it can and must happen.

--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â

Attachment: signature.asc
Description: OpenPGP digital signature