lua-users home
lua-l archive

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


In fact, my interest is more academic than practical right now. And in my case, I have a kind of co-operative (single threaded) context, but with asynchronous callbacks from C++ coming after the lua chunk has run; this is why I may still have indeterminate futures and a desire to avoid blocking.

On Mar 1, 2007, at 1:18 PM, Asko Kauppi wrote:


The code mentioned in the 2006-03 mail is co-operative and - frankly- I fail to see the added value it brings (please, enlighten..) :)

A few weeks back, I said to make a multicore Lua module, which runs given functions truly in parallel, and it has future-like evaluation (you get a handle to the results, and only reading h[1], h[2], .. actually pend for that thread to finish).

Is this what you're looking for, if so please inform me about which platform you run etc.? That is, if you wish to give the solution (Lua Lanes is the name) a go. It's ...well... _almost_ ready. ((be merciful, I'm moving soon..))

-asko


Graham Wakefield kirjoitti 1.3.2007 kello 0.30:

perfect, thanks.

On Feb 28, 2007, at 10:49 AM, PA wrote:


On Feb 28, 2007, at 19:38, Graham Wakefield wrote:

I believe so

e.g. in Io:
http://www.iolanguage.com/darcs/Io/docs/guide.html#TOC20254

http://lua-users.org/lists/lua-l/2006-03/msg00602.html