aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/DeferredMonitor.hxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* DeferredMonitor: fix race condition when using GLib event loopMax Kellermann2014-04-261-1/+4
| | | | | | | | | Turns out the lock-free code using atomics was not thread-safe. The given callback could be invoked by GLib before the source_id attribute was assigned. This commit changes the DeferredMonitor class to use a Mutex to block the event loop until source_id is assigned. This bug does not exist in the 0.19 branch because it does not use the GLib main loop anymore.
* gcc.h: rename to Compiler.hMax Kellermann2013-10-151-1/+1
|
* EventLoop: new implementation using epollMax Kellermann2013-08-101-1/+37
| | | | Implement an event loop without GLib.
* event/*Monitor: add method GetEventLoop()Max Kellermann2013-08-081-0/+4
|
* event/DeferredMonitor: rename Run() to RunDeferred()Max Kellermann2013-08-071-2/+2
|
* event/DeferredMonitor: use EventLoop::AddIdle()Max Kellermann2013-08-071-2/+6
|
* event/DeferredMonitor: new class wrapping g_idle_add()Max Kellermann2013-08-071-0/+54