lua-users home
lua-l archive

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


Wouldn't that take away from Lua's simplicity, though?  :-\

Alexandr Leykin wrote:
I  will propose simple-coroutine:

do
 --block1
 some code
end
also
do
 -- block2
 some again
end

also - keyword.
block1 and block2 will be running together (in different thread)