Re: [Vala] [Async] why use .begin ?
- From: "Didier \"Ptitjes\"" <ptitjes free fr>
- To: Jan Hudec <bulb ucw cz>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [Async] why use .begin ?
- Date: Sat, 19 Sep 2009 15:40:16 +0200
Jan Hudec wrote:
I can imagine a special syntax that will make vala generate this might be
accepted in future. My suggestion would be
var result = yield sync foo_async();
I guess I would propose:
var result = foo_async();
We talked about that on IRC today with Jürg, and it may be possible to
implement such a thing, correctly with
g_main_context_push_thread_default() (GLib 2.21).
] [Thread Prev