Re: [Vala] [SOLVED]Can't create a GLib.Thread
- From: Andres Fernandez <andres softwareperonista com ar>
- To: Dominique Lasserre <lasserre d gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [SOLVED]Can't create a GLib.Thread
- Date: Tue, 25 Jun 2013 01:34:27 -0300
El lun, 24-06-2013 a las 16:38 +0200, Dominique Lasserre escribió:
Hi Andres,
setting the target glib version to (at least) 2.32 is required. Have you
used the command line switch --target-glib=2.32 ?
Thank you very much! It works. It was mymistake, I knew it...
Regards
Andres Fernandez -Software Peronista
Regards
Dominique
On 24/06/13 06:32, Andres Fernandez wrote:
Hi I've been try to understand how handling sockets in Vala. So I try to
run the example on Glib.SocketListenere.accept - gio-2.0 on
valadoc.org[1]
But I got this
error: The name `try' does not exist in the context of `GLib.Thread'
The issue is this line
new Thread<int>.try (null, () => { return worker.run (); });
I've been search the web, but nothig. I don't known GLib.Threads,
either.
I'm on Arch i686, and with vala-20.1
Bye bye! Thanks!
[1] http://www.valadoc.org/#!api=gio-2.0/GLib.SocketListener.accept
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]