On Tue, Jun 18, 2013 at 10:39 PM, Nadav Vinik <nadav...@gmail.com> wrote:

>
> Does the async method is not a real thread?
>

No, as the name suggests it's an asynchronous method.  If you need threads,
have a look at GLib.Thread:
http://www.valadoc.org/#!api=glib-2.0/GLib.Thread

Regarding the yield error, note that yields must be inside an async method
-- I'm not entirely sure how anonymous methods work in Vala but I don't
believe it's possible to use them asynchronously.

 - Eric
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to