lua-users home
lua-l archive

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


2014-08-29 15:41 GMT+02:00 Andrew Starks <andrew.starks@trms.com>:

> A "coroutine" is the function that is the value you give to "coroutine.create".
...
> The only thing that makes a function a coroutine is that it is being used as
> an argument for create.

Can't agree here.

Quote from the Lua 5.2 manual, in the documentation of create:

   Returns this new coroutine, an object with type "thread".