lua-users home
lua-l archive

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


2009/3/29 lee <leeyacn@126.com>:
> For "coroutine.status(coroutine.running())", what means ?

coroutine.running() is the coroutine which is currently running, nil otherwise.

coroute.status() needs to be passed a coroutine object (type 'thread')

steve d.