poll()-ing a pipe descriptor, watching for POLLHUP

Vlad Galu dudu at dudu.ro
Thu Jun 11 08:41:18 UTC 2009


On Wed, Jun 3, 2009 at 9:42 PM, Bruce Evans<brde at optusnet.com.au> wrote:
[...]

Hello Bruce, Kostik, Oliver. Was any consensus reached on how to
tackle this issue? The RELENG_7 code looks slightly different so I
haven't (yet) tried adapting the provided patches. As for the
interface behavior, I think the nicest way would be to signal EOF by
POLLHUP alone, without POLLIN.

Regards,
Vlad


More information about the freebsd-stable mailing list