GDBusConnection: access the exit-on-close flag atomically
GDBusConnection: access the exit-on-close flag atomically

This isn't strictly necessary, because in every location where it's
checked, if the reading thread misses an update from another thread,
it's indistinguishable from the reading thread having been scheduled
before the writing thread, which is an unavoidable race condition that
callers need to cope with anyway. On the other hand, merging exit_on_close
into atomic_flags gives the least astonishing semantics to library users
and saves 4 bytes of struct, and if you're accessing exit-on-close often
enough for it to be a performance concern, you're probably doing it wrong.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661992
Signed-off-by: Simon McVittie <2b470b34502dbf3ba4bcc04ea7e64f4e0e104f33@collabora.co.uk>
Reviewed-by: David Zeuthen <16a4bae6a7afea1fdd75baca6404fe68f285db96@redhat.com>

cosimoc/glib,tamaskenez/glib,darren-clark/android_platform_external_bluetooth_glib,lukasz-skalski/glib,mzabaluev/glib,darren-clark/android_platform_external_bluetooth_glib,MathieuDuponchelle/glib,pstglia/external-bluetooth-glib,cosimoc/glib,djdeath/glib,ieei/glib,bluez-android/glib,antono/glib,krichter722/glib,bluez-android/glib,pstglia/platform-external-bluetooth-glib,ieei/glib,tchakabam/glib,cention-sany/glib,johne53/MB3Glib,Distrotech/glib,lukasz-skalski/glib,tchakabam/glib,antono/glib,justinkb/aosp-bluez.glib,djdeath/glib,johne53/MB3Glib,01org/android-bluez-glib,01org/android-bluez-glib,iConsole/Console-OS_external_bluetooth_glib,johne53/MB3Glib,justinkb/aosp-bluez.glib,antono/glib,krichter722/glib,tamaskenez/glib,gale320/glib,lukasz-skalski/glib,johne53/MB3Glib,pstglia/external-bluetooth-glib,lukasz-skalski/glib,ieei/glib,endlessm/glib,justinkb/aosp-bluez.glib,MathieuDuponchelle/glib,iConsole/Console-OS_external_bluetooth_glib,iConsole/Console-OS_external_bluetooth_glib,bluez-android/glib,ieei/glib,Distrotech/glib,iConsole/Console-OS_external_bluetooth_glib,Distrotech/glib,pstglia/external-bluetooth-glib,cosimoc/glib,darren-clark/android_platform_external_bluetooth_glib,gale320/glib,bluez-android/glib,justinkb/aosp-bluez.glib,mzabaluev/glib,Distrotech/glib,djdeath/glib,endlessm/glib,mzabaluev/glib,krichter722/glib,johne53/MB3Glib,tamaskenez/glib,djdeath/glib,djdeath/glib,pstglia/platform-external-bluetooth-glib,Distrotech/glib,gale320/glib,krichter722/glib,justinkb/aosp-bluez.glib,01org/android-bluez-glib,pstglia/external-bluetooth-glib,tchakabam/glib,gale320/glib,darren-clark/android_platform_external_bluetooth_glib,pstglia/external-bluetooth-glib,cosimoc/glib,lukasz-skalski/glib,ieei/glib,gale320/glib,cention-sany/glib,cention-sany/glib,MathieuDuponchelle/glib,antono/glib,cention-sany/glib,bluez-android/glib,endlessm/glib,MathieuDuponchelle/glib,01org/android-bluez-glib,krichter722/glib,tamaskenez/glib,mzabaluev/glib,endlessm/glib,01org/android-bluez-glib,pstglia/platform-external-bluetooth-glib,pstglia/platform-external-bluetooth-glib,pstglia/platform-external-bluetooth-glib,tamaskenez/glib,MathieuDuponchelle/glib,endlessm/glib,tchakabam/glib,mzabaluev/glib,tchakabam/glib,iConsole/Console-OS_external_bluetooth_glib,darren-clark/android_platform_external_bluetooth_glib,cosimoc/glib,johne53/MB3Glib,cention-sany/glib