Alexander Larsson 3b4ad625b9 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
2008-12-10  Alexander Larsson  <alexl@redhat.com>

	Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
	g_simple_async_result_run_in_thread
	
        * gsimpleasyncresult.c:
	Make g_simple_async_result_run_in_thread check cancellation before
	calling out to the user in the callback. This means we guarantee
	reporting cancels of async operations from the main threads, which
	is probably more in line with what users expect.
	
	Note that there are still no such guarantees for cancelling sync
	operations or cancelling async operation from outside the main
	thread. Furthermore, the exact behaviour of async implementations
	not using run_in_thread may differ.



svn path=/trunk/; revision=7740
2008-12-10 13:25:59 +00:00
..
2008-07-18 18:22:48 +00:00
2007-11-28 18:45:08 +00:00
2008-07-21 02:32:14 +00:00
2008-08-13 05:35:10 +00:00
2008-09-21 23:53:40 +00:00
2007-12-01 23:49:34 +00:00
2008-01-29 00:00:31 +00:00
2008-11-28 07:04:43 +00:00
2008-08-13 05:35:10 +00:00
2008-09-08 12:44:07 +00:00
2008-09-08 12:44:07 +00:00
2008-07-21 02:19:56 +00:00
2008-09-04 20:41:50 +00:00
2008-08-01 14:15:02 +00:00
2008-10-16 23:59:50 +00:00