[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: What's the difference between a "coroutine" and a "thread" in Lua?
- From: "W. C. Bubel" <inmatarian@...>
- Date: Sat, 11 Aug 2007 01:23:41 -0400
The manual is quite clear on coroutines (section 2.11). coroutine.create produces an object of type "thread" that the coroutine functions operate on. The "coroutines" in this case would be the functions that make calls to
coroutine.yield, although, type would return "function" for them.