]> Dogcows Code - chaz/yoink/blobdiff - src/moof/runloop.hh
build system enhancements
[chaz/yoink] / src / moof / runloop.hh
index f70abdef3891bf3b687633f71380099c677790cf..29529521e8d16c96a35c4472fbe603e93396e8ce 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <boost/noncopyable.hpp>
 
 
 #include <boost/noncopyable.hpp>
 
-#include <moof/backend.hh>
 #include <moof/thread.hh>
 
 
 #include <moof/thread.hh>
 
 
@@ -51,9 +50,9 @@ public:
        }
 
        /**
        }
 
        /**
-        * Deconstruct the runloop.
+        * Do one iteration of the runloop.
         */
         */
-       ~runloop();
+       void run_once();
 
 
        /**
 
 
        /**
@@ -69,13 +68,6 @@ public:
        void stop(int code = 0);
 
 
        void stop(int code = 0);
 
 
-       /** Get the runloop of the current thread.
-        * \return The current runloop or 0 if none is running in the current
-        * thread.
-        */
-       static runloop* current();
-
-
        void add_timer(timer& timer);
        void remove_timer(timer& timer);
 
        void add_timer(timer& timer);
        void remove_timer(timer& timer);
 
@@ -93,9 +85,6 @@ private:
        MOOF_DECLARE_MUTEX(timers_mutex_);
        uint32_t        thread_id_;
 #endif
        MOOF_DECLARE_MUTEX(timers_mutex_);
        uint32_t        thread_id_;
 #endif
-
-
-       backend         backend_;
 };
 
 
 };
 
 
This page took 0.017631 seconds and 4 git commands to generate.