Re: [Vala] Thread syntax changed?



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]