[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lua_newthread
- From: "Brent Arias" <barias@...>
- Date: Thu, 1 Sep 2005 10:28:54 -0700
I keep creating new coroutines with lua_newthread, and each time I do, I
notice lua_gettop is incrementing by one. Am I supposed to be immediately
popping them from the stack when I create them? Or am I supposed to leave
them there (until their life is over)?
Why does lua assume to automatically put new threads I create onto the stack
for me?
-Brent