lua-users home
lua-l archive

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


On Thursday 08 February 2007, Asko Kauppi wrote:
> You don't need to dive into OS specific issues, at all. Threads share
> a common address space, so all you have to do is serialize Lua data
> structures into a stream (allocated char array), deserialize it in
> the other thread. I would definately see a need for this + basic
> thread creation (portable) + lazy evaluation, all together in an easy
> to use package.

what would be easier: writing a thin portable layer over pthreads/winthreads, 
or discovering the hard way that you shouldn't modify the same structure on 
two threads and reinventing semaphores?

-- 
Javier

Attachment: pgpsAxLjrod26.pgp
Description: PGP signature