lua-users home
lua-l archive

resetting a coroutine

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


Hello :-)
I was looking for a "coroutine.reset" function, in order
to be able to reuse a thread or to be able to "restart"
it from the beginning.
There are a lot of messages in the list from 2003, and
there is even a piece of C code that implements this
functionality.
I wonder if someone is using it ?
What do people from the Lua team think of the idea ?
Thanks in advance for your answers,
Matias.

AltStyle によって変換されたページ (->オリジナル) /