lua-users home
lua-l archive

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


On Tue, Jun 21, 2016 at 12:45 PM, Gregg Reynolds <dev@mobileink.com> wrote:
>
> On Jun 21, 2016 10:45 AM, "Roberto Ierusalimschy" <roberto@inf.puc-rio.br>
> wrote:
> ...
>> Right: couroutine is a specific use case of a Lua thread. As it is the
>> only use of threads inside Lua code, we can say that, looking from Lua,
>> coroutine = thread.
>
> Is it correct to say that a Lua thread is a fiber?  I.e. not an OS or
> pthread?
>
> - gregg

Yes, that could be considered accurate, as fibers are a
cooperative-multitasking construct.

/s/ Adam