Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-08-07 | event/SignalMonitor: use signalfd() if available | Max Kellermann | 1 | -1/+72 | |
2013-08-07 | SignalHandlers: move code to new class SignalMonitor | Max Kellermann | 2 | -0/+197 | |
2013-08-07 | event/Event{Pipe,FD}: auto-create in constructor | Max Kellermann | 4 | -59/+23 | |
Errors are fatal now. This makes the class a lot easier to use. | |||||
2013-08-07 | Makefile.am: move sources to libsystem.a | Max Kellermann | 7 | -10/+10 | |
2013-08-06 | configure.ac: add option --enable-eventfd | Max Kellermann | 5 | -102/+227 | |
Remove the runtime check for eventfd(), hard-code the feature once it's been selected at compile time. The class WakeFD is splitted into EventFD and EventPipe, using WakeFD as a macro diversion. | |||||
2013-04-08 | event/TimeoutMonitor: eliminate support for periodic events | Max Kellermann | 2 | -14/+7 | |
No caller needs this. Fixes use-after-free after returning from Client::OnTimeout(). | |||||
2013-02-04 | event/ServerSocket: close only sockets that have been opened | Max Kellermann | 1 | -1/+3 | |
Fixes assertion failure. | |||||
2013-02-04 | ServerSocket: Initialize length variable | Uli Schlachter | 1 | -1/+1 | |
2013-01-30 | event/SocketMonitor: wake up the event loop after flag change | Max Kellermann | 2 | -0/+14 | |
2013-01-30 | event/Loop: add method WakeUp() | Max Kellermann | 1 | -0/+4 | |
2013-01-30 | event/ServerSocket: add method GetEventLoop() | Max Kellermann | 1 | -0/+4 | |
2013-01-30 | ServerSocket: replace callback with virtual method | Max Kellermann | 2 | -17/+12 | |
2013-01-30 | ServerSocket: expose the class | Max Kellermann | 2 | -154/+133 | |
Eliminate the C wrappers. | |||||
2013-01-30 | ServerSocket: move to libevent.a | Max Kellermann | 2 | -0/+579 | |
2013-01-30 | event/BufferedSocket: move output buffer to FullyBufferedSocket | Max Kellermann | 4 | -112/+202 | |
BufferedSocket has just an input buffer, and FullyBufferedSocket adds the output buffer. | |||||
2013-01-30 | event/SocketMonitor: OnSocketReady() returns bool | Max Kellermann | 3 | -6/+11 | |
2013-01-30 | event/SocketMonitor: add methods Read(), Write() | Max Kellermann | 4 | -27/+43 | |
2013-01-29 | require GLib 2.24 | Max Kellermann | 1 | -0/+1 | |
2013-01-27 | event/SocketMonitor: add method Steal() | Max Kellermann | 2 | -3/+17 | |
2013-01-15 | event/SocketMonitor: add method Open() | Max Kellermann | 2 | -9/+27 | |
Allow creating a closed SocketMonitor instance. | |||||
2013-01-15 | input/Curl: move code to class MultiSocketMonitor | Max Kellermann | 2 | -0/+231 | |
2013-01-15 | event/SocketMonitor: wrapper class for GSource + GPollFD | Max Kellermann | 4 | -0/+607 | |
2013-01-14 | event/TimeoutMonitor: wrapper for g_timeout_source_new() | Max Kellermann | 3 | -10/+133 | |
2013-01-14 | Main, IOThread: move GMainLoop setup code to class EventLoop | Max Kellermann | 1 | -0/+86 | |
2013-01-13 | WakeFD.cxx: use two sockets instead of pipe on Win32 | Denis Krjuchkov | 1 | -4/+127 | |
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 | event/WakeFD: use eventfd() if available | Max Kellermann | 2 | -1/+46 | |
2013-01-09 | GlobalEvents: move code to class WakeFD | Max Kellermann | 2 | -0/+137 | |