dbus/cmake
Simon McVittie 17a23d08b5 dbus_threads_init_default, dbus_threads_init: be safe to call at any time
On Unix, we use a pthreads mutex, which can be allocated and
initialized in global memory.

On Windows, we use a CRITICAL_SECTION, together with a call to
InitializeCriticalSection() from the constructor of a global static
C++ object (thanks to Ralf Habacker for suggesting this approach).

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54972
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Alban Crequy <alban.crequy@collabora.co.uk>
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
2013-05-10 11:35:08 +01:00
..
bus Moved docbook sources used by cmake into doc subdir and adapted cmake build system. 2013-02-14 13:27:22 +00:00
dbus dbus_threads_init_default, dbus_threads_init: be safe to call at any time 2013-05-10 11:35:08 +01:00
doc CMake linux fixes when using meinproc4 doc generator. 2013-03-04 18:27:08 +01:00
modules Fixed cmake cross compile timestamp creating. 2013-02-12 10:58:27 +00:00
test Revert "made session service dirs customizable: cmake part" 2012-01-04 18:20:15 +00:00
tools Moved docbook sources used by cmake into doc subdir and adapted cmake build system. 2013-02-14 13:27:22 +00:00
bus-test.bat.cmake * cmake: new directory, contains cmake build support. 2007-03-03 14:32:17 +00:00
CMakeLists.txt Fixed cmake windows build system bug not installing runtime part of shared libraries into bin dir. 2013-04-29 20:42:30 +02:00
config.h.cmake Rename default_message_unix_fds to DEFAULT_MESSAGE_UNIX_FDS 2013-04-18 19:21:51 +01:00
ConfigureChecks.cmake Use dbus/dbus-arch-deps.h.in as source for cmake too 2011-09-23 15:38:12 +02:00
dbus-env.bat.cmake Split DBUS_SESSION_BUS_DEFAULT_ADDRESS into listen, connect addresses and set better defaults 2012-08-13 19:57:13 +01:00
Doxyfile.cmake Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00