Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-08-07 | event/DeferredMonitor: rename Run() to RunDeferred() | Max Kellermann | 1 | -2/+2 | |
2013-08-07 | event/DeferredMonitor: use EventLoop::AddIdle() | Max Kellermann | 1 | -2/+5 | |
2013-08-07 | event/DeferredMonitor: new class wrapping g_idle_add() | Max Kellermann | 1 | -12/+18 | |
2013-08-04 | *: use gcc.h macros instead of GLib | Max Kellermann | 1 | -1/+2 | |
2013-02-27 | GlobalEvents: use g_idle_add() instead of WakeFD() | Max Kellermann | 1 | -28/+5 | |
Use the GMainLoop specific function to wake up the main loop. This is simpler and comes with very little overhead. | |||||
2013-02-27 | GlobalEvents: wake up only if the flags were empty | Max Kellermann | 1 | -1/+1 | |
Don't bother checking for the parameter mask. This doesn't matter. The only thing that matters is if a wake-up is already pending. | |||||
2013-02-27 | Idle, GlobalEvents: use std::atomic::exchange() | Max Kellermann | 1 | -1/+1 | |
Less overhead than fetch_and() for what we do. | |||||
2013-01-13 | WakeFD.cxx: use two sockets instead of pipe on Win32 | Denis Krjuchkov | 1 | -1/+1 | |
Pipes aren't really pollable on Windows. GLib emulates polling on pipes using separate reader/writer threads. This adds significant overhead and keeps a strong dependency on GLib. socketpair() function is absent on Windows as well. We implement it here in a loose way. | |||||
2013-01-10 | GlobalEvents: lock-less operation using std::atomic | Max Kellermann | 1 | -31/+8 | |
Use a bit field instead of a mutex-protected bool array. | |||||
2013-01-09 | GlobalEvents: move code to class WakeFD | Max Kellermann | 1 | -27/+11 | |
2013-01-09 | EventPipe: rename to GlobalEvents | Max Kellermann | 1 | -0/+153 | |