Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | event/SocketMonitor: don't close the socket automatically | Max Kellermann | 2014-01-06 | 1 | -1/+4 |
| | | | | | | Users now have to call Close() explicitly. This simplifies using the class, as most users have automatic socket management already, and Steal() had to be used often. | ||||
* | event/Loop: remove the GLib implementation | Max Kellermann | 2014-01-04 | 1 | -69/+0 |
| | | | | | Now that the remaining known bugs in poll() implementation are fixed, we can go on without the GLib implementation. | ||||
* | event/*Monitor: document as not being thread-safe | Max Kellermann | 2013-12-31 | 1 | -0/+4 |
| | |||||
* | event: introduce generic API for internal event loop | Denis Krjuchkov | 2013-11-28 | 1 | -9/+5 |
| | |||||
* | Add infrastructure for using multiple event loops | Denis Krjuchkov | 2013-11-27 | 1 | -13/+28 |
| | | | | | | | | | | | | This change adds two configuration options: --with-eventloop=[glib|internal|auto] --with-pollmethod=[epoll|auto] First allows switching between GLib event loop and internal one. Second chooses backend to use for internal event loop. Conditional compilation symbols are changed accordingly. Additional helper macro MPD_OPTIONAL_FUNC_NODEF is added as well. | ||||
* | event: add API documentation | Max Kellermann | 2013-11-24 | 1 | -0/+6 |
| | |||||
* | event/SocketMonitor: add missing space | Max Kellermann | 2013-11-24 | 1 | -2/+2 |
| | |||||
* | event/SocketMonitor: add method Abandon() | Max Kellermann | 2013-11-06 | 1 | -0/+5 |
| | |||||
* | EventLoop: new implementation using epoll | Max Kellermann | 2013-08-10 | 1 | -0/+38 |
| | | | | Implement an event loop without GLib. | ||||
* | event/*Monitor: add method GetEventLoop() | Max Kellermann | 2013-08-08 | 1 | -0/+4 |
| | |||||
* | event/SocketMonitor: un-inline Schedule() | Max Kellermann | 2013-08-08 | 1 | -16/+9 |
| | | | | Merge with CommitEventFlags(). | ||||
* | event/SocketMonitor: add assertions | Max Kellermann | 2013-08-08 | 1 | -0/+6 |
| | |||||
* | event/SocketMonitor: wake up the event loop after flag change | Max Kellermann | 2013-01-30 | 1 | -0/+8 |
| | |||||
* | event/SocketMonitor: OnSocketReady() returns bool | Max Kellermann | 2013-01-30 | 1 | -1/+4 |
| | |||||
* | event/SocketMonitor: add methods Read(), Write() | Max Kellermann | 2013-01-30 | 1 | -0/+8 |
| | |||||
* | event/SocketMonitor: add method Steal() | Max Kellermann | 2013-01-27 | 1 | -0/+6 |
| | |||||
* | event/SocketMonitor: add method Open() | Max Kellermann | 2013-01-15 | 1 | -0/+5 |
| | | | | Allow creating a closed SocketMonitor instance. | ||||
* | event/SocketMonitor: wrapper class for GSource + GPollFD | Max Kellermann | 2013-01-15 | 1 | -0/+118 |