dbus/dbus
Simon McVittie 89906f3e3d Implement _dbus_atomic_get directly, rather than via inc + dec
The Windows implementation is untested, but does at least (cross-)compile,
and matches what GLib does.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38005
Reviewed-by: Lennart Poettering <lennart@poettering.net>
2011-07-29 12:29:42 +01:00
..
.gitignore Update a load of .gitignores 2010-10-05 11:45:48 +01:00
dbus-address.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-address.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-arch-deps.h.in Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-auth-script.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-auth-script.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-auth-util.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-auth.c Fix spelling/grammatical mistakes detected by Debian's lintian(1) 2011-07-28 11:05:43 +01:00
dbus-auth.h Merge branch 'fd-passing' 2009-07-16 16:05:16 +02:00
dbus-bus.c dbus_bus_set_unique_name, dbus_bus_get_unique_name: remember to unlock on OOM 2011-02-01 11:41:02 +00:00
dbus-bus.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-connection-internal.h Corrected thread problem causing some calls to hang for 25s 2010-06-11 14:18:55 +02:00
dbus-connection.c DBusConnection: use atomic accesses to refcount in assertions/initial ref 2011-07-25 18:17:21 +01:00
dbus-connection.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-credentials-util.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-credentials.c [64 bit printf] Update to use DBUS_PID_FORMAT, print (omitted) 2010-03-22 14:35:28 -04:00
dbus-credentials.h Add _dbus_credentials_to_string_append 2010-03-16 15:57:27 -04:00
dbus-dataslot.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-dataslot.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-errors.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-errors.h Minor include file fix. 2010-06-07 15:34:22 +02:00
dbus-file-unix.c Make dbus-uuidgen atomic 2010-09-03 14:29:53 -04:00
dbus-file-win.c Fix typo in creating temp file. 2010-09-09 16:00:34 +02:00
dbus-file.c moved out dbus file related functions from sysdeps into separate files - tested on windows 2009-12-20 11:24:32 +01:00
dbus-file.h Make dbus-uuidgen atomic 2010-09-03 14:29:53 -04:00
dbus-hash.c Don't truncate pointers on Windows x64 platform 2010-05-03 10:48:38 +02:00
dbus-hash.h fix {u}intptr_t usage on wince with msvc 2010-05-05 07:57:28 +02:00
dbus-internals.c Make dbus-uuidgen atomic 2010-09-03 14:29:53 -04:00
dbus-internals.h Do not set DBUS_SESSION_BUS_DEFAULT_ADDRESS unconditional in code, it is already defined in build system. 2010-06-11 10:52:43 +02:00
dbus-keyring.c Don't pretend to free lock if it was never allocated 2010-10-05 14:50:22 +01:00
dbus-keyring.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-list.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-list.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-macros.h Annotate dbus_malloc*() functions with __attribute__ malloc and __attribute__ alloc_size 2011-01-05 13:13:48 +00:00
dbus-mainloop.c _dbus_loop_iterate: if the kernel says a fd is bad, stop watching it 2011-01-21 15:01:37 +00:00
dbus-mainloop.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-marshal-basic.c Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-marshal-basic.h Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-marshal-byteswap-util.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-marshal-byteswap.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-marshal-byteswap.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-marshal-header.c _dbus_header_byteswap: change the first byte of the message, not just the struct member 2011-06-10 18:09:41 +01:00
dbus-marshal-header.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-marshal-recursive-util.c Cleaned up _dbus_verbose calls: function names and code line numbers are printed by default. 2010-03-27 23:28:00 +01:00
dbus-marshal-recursive.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-marshal-recursive.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-marshal-validate-util.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-marshal-validate.c Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-marshal-validate.h dbus_message_iter_append_basic: check string-like arguments for validity 2011-03-04 12:39:59 +00:00
dbus-memory.c dbus-memory: use atomic accesses to block count, even for assertions 2011-07-26 17:41:38 +01:00
dbus-memory.h Annotate dbus_malloc*() functions with __attribute__ malloc and __attribute__ alloc_size 2011-01-05 13:13:48 +00:00
dbus-mempool.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-mempool.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-message-factory.c Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-message-factory.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-message-internal.h Add an accessor for the loader's corruption reason 2010-01-28 17:01:23 -05:00
dbus-message-private.h Don't report file descriptors as "leaked" if they were already open 2011-04-27 16:28:36 +01:00
dbus-message-util.c dbus tests: don't warn on skipped tests 2011-07-18 19:14:52 +01:00
dbus-message.c DBusMessage: always access refcount atomically, even for assertions/initial ref 2011-07-26 17:42:16 +01:00
dbus-message.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-misc.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-misc.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-nonce.c DBusNonceFile: don't always fail when use_subdir=TRUE, i.e. on Unix 2011-05-25 16:03:31 +01:00
dbus-nonce.h Fixes to the nonce code 2009-12-01 08:43:41 +01:00
dbus-object-tree.c DBusObjectTree: always access refcount atomically 2011-07-25 18:10:02 +01:00
dbus-object-tree.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-pending-call-internal.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-pending-call.c DBusPendingCall: exclusively use atomic operations on the refcount 2011-07-14 16:37:05 +01:00
dbus-pending-call.h Add and use DBUS_TIMEOUT_INFINITE and DBUS_TIMEOUT_USE_DEFAULT 2011-06-10 18:33:04 +01:00
dbus-pipe-unix.c Fix error condition in _dbus_pipe_close 2011-01-04 19:37:19 +00:00
dbus-pipe-win.c Prepare for WinCE port: Convert windows code to native API, avoid errno. 2010-04-13 15:46:35 +02:00
dbus-pipe.c Don't truncate pointers on Windows x64 platform 2010-05-03 10:48:38 +02:00
dbus-pipe.h fix {u}intptr_t usage on wince with msvc 2010-05-05 07:57:28 +02:00
dbus-protocol.h protocol: introduce four new errors 2011-03-10 21:10:31 +01:00
dbus-resources.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-resources.h Merge branch 'fd-passing' 2009-07-16 16:05:16 +02:00
dbus-server-debug-pipe.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-server-debug-pipe.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-server-launchd.c Look up DISPLAY from launchd if not initialized. 2010-12-06 21:33:10 +01:00
dbus-server-launchd.h Add launchd implementation. 2010-12-06 21:33:06 +01:00
dbus-server-protected.h Handle case when autolaunched daemon address is already pulished on windows. 2010-12-14 08:12:59 +01:00
dbus-server-socket.c _dbus_server_new_for_tcp_socket: fix error handling 2011-01-26 18:55:00 +00:00
dbus-server-socket.h Extended autolaunch protocol with scope attribute. 2010-09-27 21:53:32 +02:00
dbus-server-unix.c Enable launchd. 2010-12-06 21:33:14 +01:00
dbus-server-unix.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-server-win.c Handle case when autolaunched daemon address is already pulished on windows. 2010-12-14 08:12:59 +01:00
dbus-server-win.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-server.c DBusServer: exclusively use atomic operations on the refcount 2011-07-14 16:37:46 +01:00
dbus-server.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-sha.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-sha.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-shared.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-shell.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-shell.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-signature.c Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-signature.h Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-sockets-win.h Windows fix: MSVC 2010 has errno.h. 2010-12-31 16:12:18 +01:00
dbus-spawn-win.c Defensively protect against bogus argv argument on W32CE. 2010-05-03 10:56:31 +02:00
dbus-spawn.c dbus-spawn: don't leave bad file descriptors being watched 2011-01-21 15:00:25 +00:00
dbus-spawn.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-string-private.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-string-util.c Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-string.c Cope with platforms whose vsnprintf violates both POSIX and C99 - part 1 2011-07-08 11:00:12 +02:00
dbus-string.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-sysdeps-pthread.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-sysdeps-thread-win.c Avoid live lock in Windows (CE) under some situations due to unfair condition variables. 2010-12-29 22:44:27 +01:00
dbus-sysdeps-unix.c Implement _dbus_atomic_get directly, rather than via inc + dec 2011-07-29 12:29:42 +01:00
dbus-sysdeps-unix.h Enable launchd. 2010-12-06 21:33:14 +01:00
dbus-sysdeps-util-unix.c process_config_first_time_only: initialize syslog as intended. 2011-05-25 18:16:35 +01:00
dbus-sysdeps-util-win.c _dbus_init_system_log: remove FIXME on Windows 2011-05-25 18:16:33 +01:00
dbus-sysdeps-util.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-sysdeps-win.c Implement _dbus_atomic_get directly, rather than via inc + dec 2011-07-29 12:29:42 +01:00
dbus-sysdeps-win.h Use absolute session service dir path in bus-test on windows. 2010-12-29 14:43:24 +01:00
dbus-sysdeps-wince-glue.c Wrap OutputDebugString for Windows CE builds, and add cast for MSVC. 2010-07-19 10:32:08 +02:00
dbus-sysdeps-wince-glue.h Wrap OutputDebugString for Windows CE builds, and add cast for MSVC. 2010-07-19 10:32:08 +02:00
dbus-sysdeps.c Implement _dbus_atomic_get directly, rather than via inc + dec 2011-07-29 12:29:42 +01:00
dbus-sysdeps.h Add _dbus_atomic_get implemented in terms of inc, dec 2011-07-25 18:15:34 +01:00
dbus-test-main.c Add support for Windows CE to the code base. 2010-04-13 20:38:59 +02:00
dbus-test.c dbus tests: don't warn on skipped tests 2011-07-18 19:14:52 +01:00
dbus-test.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-threads-internal.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-threads.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-threads.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-timeout.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-timeout.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-transport-protected.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-transport-socket.c Cleaned up _dbus_verbose calls: function names and code line numbers are printed by default. 2010-03-27 23:28:00 +01:00
dbus-transport-socket.h The current state of the nonce-tcp implementation 2009-12-01 08:43:36 +01:00
dbus-transport-unix.c Enable launchd. 2010-12-06 21:33:14 +01:00
dbus-transport-unix.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-transport-win.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-transport-win.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-transport.c DBusTransport: don't copy DBusAuth's GUID to expected_guid 2011-02-16 14:47:08 +00:00
dbus-transport.h Merge branch 'fd-passing' 2009-07-16 16:05:16 +02:00
dbus-types.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-userdb-util.c Don't truncate pointers on Windows x64 platform 2010-05-03 10:48:38 +02:00
dbus-userdb.c Don't truncate pointers on Windows x64 platform 2010-05-03 10:48:38 +02:00
dbus-userdb.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-uuidgen.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-uuidgen.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-watch.c Add return_if_fail watch != NULL in public DBusWatch API 2010-09-23 20:36:07 +01:00
dbus-watch.h Bug 896 - Avoid race conditions reading message from exited process 2009-07-14 15:41:57 -04:00
dbus.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
Makefile.am Run dbus-test from test/, not dbus/ 2011-07-18 19:14:54 +01:00
sd-daemon.c systemd: update sd-daemon.[ch] from upstream systemd 2010-09-06 03:17:54 +02:00
sd-daemon.h systemd: update sd-daemon.[ch] from upstream systemd 2010-09-06 03:17:54 +02:00
versioninfo.rc.in WIN32: add versioninfo, and export symbols 2009-12-01 08:36:26 +01:00