[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A problem about coroutine's status
- From: Matthew Paul Del Buono <delbu9c1@...>
- Date: Sun, 29 Mar 2009 04:43:29 -0400 (EDT)
>I have not understand your example about running and normal
status.
>Can you give me further explains?
>
>For "coroutine.status(coroutine.running())", what means ?
>
It's a simplified version of this:
> function foo()
>> print(coroutine.status(co))
>> end
> co = coroutine.create(foo)
> coroutine.resume(co)
running