Re: [Vala] Thread syntax changed?
- From: Abderrahim KITOUNI <a kitouni gmail com>
- To: "christer nissen gmail com" <christer nissen gmail com>
- Cc: "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] Thread syntax changed?
- Date: Mon, 15 Nov 2010 08:59:18 +0100
Hi,
2010/11/15 christer nissen gmail com <christer nissen gmail com>:
Hi all,
The thread example in the documentation no longer works since the latest dev version of vala. The syntax
for creating a thread changed?
I wouldn't call that syntax, but yes : creating a thread is now
different : you have to give the "return type" of the thread (that you
get when you call join on the thread). For the sample in the wiki, I
think you just need to use Thread.create<void*>(...)
HTH,
Abderrahim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]