summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/iochannel.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-23 01:20:20 +0100
committerLennart Poettering <lennart@poettering.net>2010-02-23 01:20:25 +0100
commit028aa734f88e9db2376aaf08a90f8986d31353da (patch)
treecb5fe0286c29765654bed99a4a55863ed41e5ef7 /src/pulsecore/iochannel.h
parentb5e30764c4dc7a764295adb9a75bdb2bba880c5e (diff)
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.
Diffstat (limited to 'src/pulsecore/iochannel.h')
-rw-r--r--src/pulsecore/iochannel.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/pulsecore/iochannel.h b/src/pulsecore/iochannel.h
index 9050df90..180245b8 100644
--- a/src/pulsecore/iochannel.h
+++ b/src/pulsecore/iochannel.h
@@ -38,11 +38,6 @@
the channel a callback function is called. It is safe to destroy
the calling iochannel object from the callback */
-/* When pa_iochannel_is_readable() returns non-zero, the user has to
- * call this function in a loop until it is no longer set or EOF
- * reached. Otherwise strange things may happen when an EOF is
- * reached. */
-
typedef struct pa_iochannel pa_iochannel;
/* Create a new IO channel for the specified file descriptors for