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). :D _______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
