Porting Vala to GTask corner case: GTask w/o a main loop
- From: Michael Gratton <mike vee net>
- To: gtk-devel-list gnome org
- Subject: Porting Vala to GTask corner case: GTask w/o a main loop
- Date: Tue, 20 Sep 2016 08:22:55 +1000
Hey all,
Vala currently uses g_simple_async_result_* for implementing async
functions and methods, which is causing a lot of deprecated warnings
when compiling against current GLib. There are currently patches
porting it to use GTask in Bug 763345[0], however there's an corner
case that needs addressing somehow: Vala allows async functions to be
executed when there is no main loop running - see comments 11-13 of
that bug.
So, per Carlos's comment #13, can we get some advice from GLib
developers about whether they would be interested in supporting the use
of GTask without a main loop running?
Thanks!
//Mike
[0] - <https://bugzilla.gnome.org/show_bug.cgi?id=763345>
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]