IdleMonitor: new class to replace GlobalEvents::IDLE

Use MaskMonitor to eliminate duplicate code.
This commit is contained in:
Max Kellermann
2016-03-10 09:27:07 +01:00
parent 07add0bd91
commit 5ffb82993e
7 changed files with 60 additions and 37 deletions

View File

@@ -34,10 +34,4 @@
void
idle_add(unsigned flags);
/**
* Atomically reads and resets the global idle flags value.
*/
unsigned
idle_get();
#endif