[ovs-dev] [PATCH 5/8] poll-loop: Fix obsolete comment.

Ben Pfaff blp at nicira.com
Mon Aug 23 19:19:54 UTC 2010


The poll loop used to have support for autonomous subroutines, but it no
longer does.
---
 lib/poll-loop.h |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/lib/poll-loop.h b/lib/poll-loop.h
index a9038ca..65a2ff0 100644
--- a/lib/poll-loop.h
+++ b/lib/poll-loop.h
@@ -22,12 +22,7 @@
  * calls one (or more) of the functions poll_fd_wait(), poll_immediate_wake(),
  * and poll_timer_wait() to register to be awakened when the appropriate event
  * occurs.  Then the main loop calls poll_block(), which blocks until one of
- * the registered events happens.
- *
- * There is also some support for autonomous subroutines that are executed by
- * poll_block() when a file descriptor becomes ready.  To prevent these
- * routines from starving if events are continuously ready, the application
- * should bound the amount of work it does between poll_block() calls. */
+ * the registered events happens. */
 
 #ifndef POLL_LOOP_H
 #define POLL_LOOP_H 1
-- 
1.7.1





More information about the dev mailing list