[pulseaudio-discuss] [PATCH] rtpoll: Update comment

Maarten Bosmans mkbosmans at gmail.com
Thu Oct 13 11:54:17 PDT 2011


to reflect changes made in
32e2cd6d3216f780c4cffed0f8eb3c30f2c8d732
core: get rid of rt sig/timer handling since modern Linux' ppoll() is finally fixed for granularity
---
 src/pulsecore/rtpoll.h |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/src/pulsecore/rtpoll.h b/src/pulsecore/rtpoll.h
index bb3c860..1c8f8b0 100644
--- a/src/pulsecore/rtpoll.h
+++ b/src/pulsecore/rtpoll.h
@@ -34,13 +34,7 @@
  * yet another wrapper around poll(). However it has certain
  * advantages over pa_mainloop and suchlike:
  *
- * 1) It uses timer_create() and POSIX real time signals to guarantee
- * optimal high-resolution timing. Starting with Linux 2.6.21 hrtimers
- * are available, and since right now only nanosleep() and the POSIX
- * clock and timer interfaces have been ported to hrtimers (and not
- * ppoll/pselect!) we have to combine ppoll() with timer_create(). The
- * fact that POSIX timers and POSIX rt signals are used internally is
- * completely hidden.
+ * 1) High resolution timers are used
  *
  * 2) It allows raw access to the pollfd data to users
  *
-- 
1.7.4.1



More information about the pulseaudio-discuss mailing list