diff options
author | Fabiano Fidêncio <fidencio@redhat.com> | 2016-03-23 03:50:40 +0100 |
---|---|---|
committer | Fabiano Fidêncio <fidencio@redhat.com> | 2016-03-23 04:22:37 +0100 |
commit | 0fa5895d6218269cce31315c36cb588c72a52fe0 (patch) | |
tree | c814ae20419b8c9715c93971d1a69f84aa0837eb /data | |
parent | f973df7e54b296f5cd2eca7498aea285a84ab007 (diff) | |
download | spice-gtk-wip/gtask-helper.tar.gz spice-gtk-wip/gtask-helper.tar.xz spice-gtk-wip/gtask-helper.zip |
Introduce gtask-helper.[ch]wip/gtask-helper
As noticed, GTask's heurestic for return a task in idle or immediately
doesn't work when using Coroutine and that's okay, we just need to do
the idle ourself. And in order to avoid code duplication, let's
introduce and make usage of the new g_task_helper_return_* functions.
These functions match exactly with the existing g_task_return_*
functions and the only difference is that they return on idle instead of
returning immediately.
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions