lua-users home
lua-l archive

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


Am 23.06.2015 um 22:27 schröbte Rena:

I agree, for numbers would be odd, but for threads seems natural. I
was actually surprised that they don't have `__index = _G.coroutine`
already.

There are only two functions in the coroutine library that you could call with method syntax (`status` and `resume`). All other functions don't take a coroutine as first parameter.

Philipp