Scheduler: Implement IdleEvent
[senf.git] / Scheduler / FdManager.hh
index bf54420..a87a91c 100644 (file)
@@ -61,16 +61,16 @@ namespace detail {
 
         bool set(int fd, int events, Event * entry);
         void remove(int fd);
-        void timeout(int t);            ///< Set event timeout
-                                        /**< proceseOnce() will wait for max \a t milliseconds for
-                                             an event to occur. If set to -1, processOnce() will
-                                             wait forever. */
+
+        // Called by FileDispatcher
+        void timeout(int t);
         int timeout() const;
+
         void processOnce();             ///< Wait for events
                                         /**< This call waits until at least one event is posted but
                                              no longer than the current timeout(). */
         ClockService::clock_type eventTime() const; ///< Time of last event
-
+        
     protected:
 
     private: