… | … | ||
---|---|---|---|
84 | 84 | ||
85 | template<class watcher> | 85 | template<class watcher> |
86 | static void unreg (watcher &w, io_manager_vec<watcher> &queue); | 86 | static void unreg (watcher &w, io_manager_vec<watcher> &queue); |
87 | 87 | ||
88 | public: | 88 | public: |
89 | #if IOM_TIME | ||
90 | // fetch time only | ||
91 | static tstamp now (); | ||
92 | |||
93 | // set NOW | ||
94 | static void set_now (); | ||
95 | #endif | ||
96 | |||
89 | // register a watcher | 97 | // register a watcher |
90 | #if IOM_IO | 98 | #if IOM_IO |
91 | static void reg (io_watcher &w); static void unreg (io_watcher &w); | 99 | static void reg (io_watcher &w); static void unreg (io_watcher &w); |
92 | #endif | 100 | #endif |
93 | #if IOM_TIME | 101 | #if IOM_TIME |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |