Dan Winship a93d373812 gio/tests/task: fix a race condition in test_run_in_thread()
When running a task in a thread, GTask may still be internally holding
a ref on the task in that thread even after the callback is called in
the original thread (depending on thread scheduling). Fix the test to
handle that by using a weak notify that signals a GCond, and wait for
that GCond from the main thread. (And add a corresponding check to
test_return_on_cancel().)

https://bugzilla.gnome.org/show_bug.cgi?id=705152
2013-08-15 12:43:57 -04:00
..
2013-07-11 12:35:45 -04:00
2010-07-05 00:56:12 -04:00
2013-07-11 13:49:20 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-05-29 09:03:32 -04:00
2012-12-29 00:03:09 -05:00
2012-10-16 09:39:24 -04:00
2010-04-17 01:48:05 -04:00
2012-10-16 09:39:24 -04:00
2013-06-02 09:53:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-06-02 01:42:28 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-06-02 01:44:15 -04:00
2013-06-02 20:02:06 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-03-13 09:41:09 -04:00
2013-06-02 01:46:21 -04:00
2013-06-02 20:02:06 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-10-16 09:39:24 -04:00
2012-12-12 15:20:22 +01:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00