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-10-24 04:04:42 +00:00
2008-07-18 18:22:48 +00:00
2008-11-28 05:09:21 +00:00
2008-12-08 04:38:54 +00:00
2008-11-12 17:52:39 +00:00
2008-10-10 05:07:56 +00:00
2008-09-02 18:40:39 +00:00
2007-11-28 18:45:08 +00:00
2008-12-10 13:25:59 +00:00
2008-11-28 23:16:45 +00:00
2008-11-28 23:16:45 +00:00
2008-06-22 15:10:51 +00:00
2008-09-02 19:05:58 +00:00
2008-07-20 00:34:58 +00:00
2008-09-02 19:05:58 +00:00
2008-11-28 05:57:07 +00:00
2008-09-02 19:05:58 +00:00
2008-06-22 15:10:51 +00:00
2008-09-02 17:30:02 +00:00
2008-09-26 16:19:35 +00:00
2008-09-26 16:19:35 +00:00
2008-11-20 23:58:39 +00:00
2008-09-02 19:05:58 +00:00
2007-11-26 16:13:05 +00:00
2008-12-01 19:02:58 +00:00
2008-09-02 19:05:58 +00:00
2008-06-22 15:10:51 +00:00
2008-09-02 19:05:58 +00:00
2008-11-28 23:16:45 +00:00
2008-09-02 19:05:58 +00:00
2008-07-21 02:32:14 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-10-21 11:51:48 +00:00
2008-09-02 19:05:58 +00:00
2008-10-21 11:51:48 +00:00
2008-09-02 19:05:58 +00:00
2008-12-09 11:15:36 +00:00
2008-09-02 19:05:58 +00:00
2007-12-14 15:56:56 +00:00
2008-11-15 00:03:25 +00:00
2008-10-06 21:59:29 +00:00
2008-10-16 04:19:53 +00:00
2008-09-02 19:05:58 +00:00
2008-10-21 11:51:48 +00:00
2008-09-02 19:05:58 +00:00
2008-09-11 22:05:09 +00:00
2008-10-21 13:02:05 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-08-05 17:51:13 +00:00
2008-09-02 19:05:58 +00:00
2008-08-11 19:45:08 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-06-22 15:10:51 +00:00
2008-09-02 19:05:58 +00:00
2008-06-22 15:10:51 +00:00
2008-09-02 19:05:58 +00:00
2008-10-21 11:51:48 +00:00
2008-10-21 11:51:48 +00:00
2008-08-13 05:35:10 +00:00
2008-09-02 19:05:58 +00:00
2008-01-09 14:43:41 +00:00
2008-09-02 19:05:58 +00:00
2008-12-08 05:41:43 +00:00
2008-09-21 23:53:40 +00:00
2007-12-01 23:49:34 +00:00
2008-06-23 12:06:39 +00:00
2008-06-22 15:10:51 +00:00
2008-09-02 19:05:58 +00:00
2008-01-29 00:00:31 +00:00
2008-08-12 23:09:04 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-11-21 10:30:43 +00:00
2008-07-20 00:34:58 +00:00
2008-09-02 19:05:58 +00:00
2008-08-11 19:45:08 +00:00
2008-09-02 19:05:58 +00:00
2008-12-09 11:15:36 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-10-23 09:10:01 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-08-23 01:09:08 +00:00
2008-09-02 19:05:58 +00:00
2008-11-28 07:04:43 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-12-01 13:46:11 +00:00
2008-12-01 13:46:11 +00:00
2008-08-11 19:45:08 +00:00
2008-09-02 19:05:58 +00:00
2007-12-17 16:00:33 +00:00
2008-06-22 15:10:51 +00:00
2008-09-02 19:05:58 +00:00
2008-08-13 05:35:10 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-07-20 00:34:58 +00:00
2008-09-02 19:05:58 +00:00
2008-12-10 13:25:59 +00:00
2008-09-02 19:05:58 +00:00
2008-10-21 11:51:48 +00:00
2008-09-02 19:05:58 +00:00
2008-12-01 13:46:11 +00:00
2008-09-02 19:05:58 +00:00
2008-12-08 05:41:43 +00:00
2008-12-08 05:41:43 +00:00
2008-09-08 12:44:07 +00:00
2008-09-02 19:05:58 +00:00
2008-12-08 05:47:26 +00:00
2008-09-02 19:05:58 +00:00
2008-12-08 05:41:43 +00:00
2008-12-08 05:41:43 +00:00
2008-09-08 12:44:07 +00:00
2008-09-02 19:05:58 +00:00
2008-08-11 19:45:08 +00:00
2008-09-02 19:05:58 +00:00
2008-07-21 02:19:56 +00:00
2008-09-02 19:05:58 +00:00
2008-12-01 13:46:11 +00:00
2008-09-02 19:05:58 +00:00
2008-08-11 19:45:08 +00:00
2008-10-12 17:05:17 +00:00
2008-09-26 19:57:36 +00:00
2008-09-02 19:05:58 +00:00
2008-09-04 20:41:50 +00:00
2008-09-02 19:05:58 +00:00
2008-08-11 19:45:08 +00:00
2008-09-02 19:05:58 +00:00
2008-10-10 05:00:17 +00:00
2008-08-01 14:15:02 +00:00
2008-05-05 15:12:13 +00:00
2008-10-16 23:59:50 +00:00