lua-users home
lua-l archive

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


Roberto Ierusalimschy wrote:
Producer Consumer          - Needs threading

Can't we use coroutines?

The test case writes about threads, but it wouldn't be the first time the rules be "abused"... :-)

I still didn't get around the coroutines spirit :-<, so I am not sure I can do this myself. But I would be interested to see the result :-)

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --