Re: Synchronous signal delivery..

Keith Adamson
2003-02-15T04:51:03Z

On Fri, 2003-02-14 at 20:03, Linus Torvalds wrote:
> Could we extend that to bind "other" timers to the sigfd()? Yes. And maybe
> we could make it easier in general to "bind" events to the fd, instead of
> having the coupling be static (ie right now it's a static coupling at
> "sigfd()" call time, it could be split up into a "create descriptor" and
> "bind descriptor" thing).
>
How about in the reverse ... being able to have multiple
processes able to dynamically connect to a single existing sigfd
and listen for a signal? You said that you want to reserve write()
for sending signals through the sigfd. If you implement the
write(sigfd, ...) then this seems to provide a very nice writer/reader
signal deliver interface with well defined end points for the sender
and receivers. Or maybe I'm just confused.