tests/mainloop: fix a race condition
authorDan Winship <danw@gnome.org>
Fri, 13 Apr 2012 15:43:09 +0000 (11:43 -0400)
committerDan Winship <danw@gnome.org>
Fri, 13 Apr 2012 16:15:15 +0000 (12:15 -0400)
commitbaf0ebf7b233f05359f59dbee8d73fa15ef09407
tree9b9a745f59326d91cf513602546d219181262b26
parente0aa0ae8a2b8a8989447673a7323434040ec7bd0
tests/mainloop: fix a race condition

Rather than depending on the machine's speed/load, just interlock
between the two threads properly.
glib/tests/mainloop.c