Re: [Vala] Threading, passing data around?



Hi,

2009/11/12 Joseph Montanez <jmontanez gorilla3d com>:
I am looking at
http://references.valadoc.org/glib-2.0/GLib.Thread.html without much
luck on finding information on how to pass data to and from a thread.
The functions are static so I don't have much luck on trying to access
any object properties.

I don't understand your problem, ThreadFunc is just a normal delegate,
you should be able to access properties/fields (or even local
variables if you're using recent vala).

HTH,
Abderrahim



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]