Use InterlockedExchange to get a full memory barrier on Windows
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 13 Aug 2012 17:00:23 +0000 (18:00 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 9 Nov 2012 15:31:30 +0000 (15:31 +0000)
commit1e494ecc6094d412c3ae4ce25f51946b9278f3dd
tree011fef020fe5e0c801bdffaf3fd9f26858b42b25
parent96cb1542c22ad236e5bb0abbf3c5aede1c6b6e04
Use InterlockedExchange to get a full memory barrier on Windows

See the bug for extensive discussion.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41423
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
dbus/dbus-sysdeps-win.c