gdbus-peer: Drop some usage of g_thread_yield()
authorColin Walters <walters@verbum.org>
Wed, 22 May 2013 16:41:32 +0000 (17:41 +0100)
committerColin Walters <walters@verbum.org>
Thu, 23 May 2013 14:11:21 +0000 (10:11 -0400)
commit49030c8797d5a415e2cb94a3c658f67206cb8bf5
tree197a38a03dae9814d8b633b3da5db6150499b667
parentff8f37ac05490c67fc3be5e87ff5756f1a275da3
gdbus-peer: Drop some usage of g_thread_yield()

It's a recipe for race conditions and error; on some hardware
architectures one thread isn't guaranteed to see the results
of writes from another thread without a cache flush.

https://bugzilla.gnome.org/show_bug.cgi?id=700855
gio/tests/gdbus-peer.c