- 15 Jan, 2013 17 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Using initializer list.
-
Max Kellermann authored
Not necessary, GLib will pick up the updated GPollFD automatically.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
.. instead of calling g_main_loop_quit(), which may dead-lock.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 14 Jan, 2013 12 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Dark Raven authored
-
Max Kellermann authored
This reverts commit f53dadcc, to prepare for a better solution.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 13 Jan, 2013 3 commits
-
-
Denis Krjuchkov authored
It seems that it is not safe to remove the item from std::list while it's being iterated somewhere else. This is a very simple quick fix to make things work until some better solution is implemented.
-
Denis Krjuchkov authored
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.
-
Denis Krjuchkov authored
This change fixes two issues: 1) console_handler is called from a separate thread. Thread-safe primitive is required for correct operation. 2) If console_handler returns TRUE our process is immediately terminated. We use Sleep() to give main thread an opportunity to shutdown correctly.
-
- 11 Jan, 2013 6 commits
-
-
Denis Krjuchkov authored
-
Max Kellermann authored
Use CRITICAL_SECTION and CONDITION_VARIABLE. This requires Windows Vista or newer. It fixes problems with GLib threading objects that were implicitly created by static constructors before g_thread_init().
-
Max Kellermann authored
Work around a build failure due to windows.h macro.
-
Max Kellermann authored
We're going to use Vista features soon. Sorry for those poor people still on XP (or Windows, anyway).
-
Max Kellermann authored
-
Denis Krjuchkov authored
This patch also adds extern "C" { } wrapper around string_util.h to allow its usage in C++ code
-
- 10 Jan, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-