aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOThread.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-19*: use nullptr instead of NULLMax Kellermann1-4/+4
2013-10-17Thread/Thread: replacement library for GThreadMax Kellermann1-19/+12
2013-09-04IOThread: pass GError to FatalError()Max Kellermann1-2/+4
Fixes build failure on GLib < 2.32.
2013-09-03IOThread: use FatalError() on g_thread_create() errorMax Kellermann1-5/+5
New GLib versions don't fail.
2013-08-08event: add function BlockingCall()Max Kellermann1-50/+0
Replaces io_thread_call(). This approach is more generic and easier to use due to std::function.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-1/+1
2013-04-17use g_thread_new() if GLib is recent enoughMax Kellermann1-3/+7
Fixes deprecation warnings.
2013-01-14Main, IOThread: move GMainLoop setup code to class EventLoopMax Kellermann1-47/+13
2013-01-10io_thread: convert to C++Max Kellermann1-23/+21
2012-07-10require GLib 2.16Max Kellermann1-1/+0
GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it.
2011-11-27io_thread: fix race condition during startupMax Kellermann1-0/+8
Ensure that the io.thread variable is set before entering the event loop.
2011-09-20io_thread: add function _timeout_add()Max Kellermann1-0/+9
Same as _timeout_add_seconds(), but this one has millisecond resolution.
2011-09-20io_thread: _timeout_add_seconds() returns GSource*Max Kellermann1-4/+3
The numeric ID isn't so useful.
2011-08-31io_thread: allow _call() from inside the threadMax Kellermann1-0/+13
2011-08-29io_thread: add function io_thread_quit()Max Kellermann1-2/+9
2011-08-29io_thread: add function io_thread_run()Max Kellermann1-2/+8
2011-08-25io_thread: add helper functionsMax Kellermann1-0/+71
2011-08-25io_thread: move global variables into a structMax Kellermann1-25/+27
2011-08-24io_thread: new thread for non-blocking background I/OMax Kellermann1-0/+85
Try to eliminate the remaining blocking I/O.