iochannel: remove fd from poll() when we don't care from events
authorLennart Poettering <lennart@poettering.net>
Tue, 23 Feb 2010 00:20:20 +0000 (01:20 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Feb 2010 00:20:25 +0000 (01:20 +0100)
commit028aa734f88e9db2376aaf08a90f8986d31353da
treecb5fe0286c29765654bed99a4a55863ed41e5ef7
parentb5e30764c4dc7a764295adb9a75bdb2bba880c5e
iochannel: remove fd from poll() when we don't care from events

This should make it unlikely that we loop on SIGHUP indefinitely.

Also, this makes it possible for callbacks not to process all events and
still not busy loop.
src/pulsecore/iochannel.c
src/pulsecore/iochannel.h