> >select() on directories instead of a signal?
>
> This was proposed at Usenix (and various other times too). I think its the
> right answer and at Usenix Linus said if someone did it he'd consider the
> code..
Personally I think should do something logical and documented for
any descriptor.
> He did object went I suggested you could then select on /proc and wait
> for processes to die/create ;)
Would that be a read, write or exception event? :-)
Mike
-- .----------------------------------------------------------------------. | Mike Jagdis | Internet: mailto:mike@roan.co.uk | | Roan Technology Ltd. | | | 54A Peach Street, Wokingham | Telephone: +44 118 989 0403 | | RG40 1XG, ENGLAND | Fax: +44 118 989 1195 | `----------------------------------------------------------------------'