lua-users home
lua-l archive

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

That explains a lot of things :)
Especially the part of not been able to execute any other lua code and getting 0xfeeefeee's all over the place after a coroutine had finished ;)
Works now, i have coroutines!!! W00t!

Rici Lake wrote:

On 10-Aug-05, at 12:44 AM, David Morris-Oliveros wrote:

Are coroutines closed? They're created through lua_newthread(), but not closed with lua_close() right?

When you're finished with one, you just let it die and leave it alone, dangling inside lua, right?

...where it will get garbage collected, assuming you haven't accidentally retained a pointer to it.

// David Morris-Oliveros
// Camera & Lua Coder
// Team Bondi

Team Bondi Pty Ltd
Level 2, 608 Harris Street
Ultimo, NSW 2007
Tel: +61 (0)2 8218 1500
Fax: +61 (0)2 8218 1507
This email may contain confidential information.  If you are not
the intended recipient, you may not copy or deliver this message to
anyone. In such case, you should destroy this message and kindly
notify the sender by reply email. Opinions, conclusions and other
information in this message that do not relate to the official business
of our firm shall be understood as neither given nor endorsed by it.