Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DeferredMonitor: fix race condition when using GLib event loop | Max Kellermann | 2014-04-26 | 1 | -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.h | Max Kellermann | 2013-10-15 | 1 | -1/+1 |
| | |||||
* | EventLoop: new implementation using epoll | Max Kellermann | 2013-08-10 | 1 | -1/+37 |
| | | | | Implement an event loop without GLib. | ||||
* | event/*Monitor: add method GetEventLoop() | Max Kellermann | 2013-08-08 | 1 | -0/+4 |
| | |||||
* | event/DeferredMonitor: rename Run() to RunDeferred() | Max Kellermann | 2013-08-07 | 1 | -2/+2 |
| | |||||
* | event/DeferredMonitor: use EventLoop::AddIdle() | Max Kellermann | 2013-08-07 | 1 | -2/+6 |
| | |||||
* | event/DeferredMonitor: new class wrapping g_idle_add() | Max Kellermann | 2013-08-07 | 1 | -0/+54 |