[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.4.0 (alpha) now available
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 14 Jun 2019 16:14:44 -0300
> - lua_resetthread is hard to find if you start by looking at
> coroutine.close. Can we rename it lua_closethread or rename
> coroutine.close to coroutine.reset?
A Lua thread can be reused after lua_resetthread.
A coroutine cannot be reused after coroutine.close.
Hence the different names.