Re: [Vala] Threading, passing data around?
- From: Joseph Montanez <jmontanez gorilla3d com>
- To: Frederik <scumm_fredo gmx net>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Threading, passing data around?
- Date: Thu, 12 Nov 2009 08:25:15 -0800
Abderrahim & Frederik,
Thanks!
On Thu, Nov 12, 2009 at 1:53 AM, Frederik <scumm_fredo gmx net> wrote:
Joseph Montanez wrote:
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.
ThreadFunc does not have to be static. You can use an instance method and
access instance members:
http://live.gnome.org/Vala/ThreadingSamples
You could even use a closure.
Best regards,
Frederik
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
--
Joseph Montanez
Web Developer
Gorilla3D
Design, Develop, Deploy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]