[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_newthread .. problem
- From: Vyacheslav Egorov <mraleph@...>
- Date: Thu, 20 Dec 2007 22:03:22 +0600
Joseph Saadé wrote:
lua_newthread pushes newly created thread on the stack, but it does not
check (as all other API functions by default) that stack is large
enough, so you must ensure that manually by calling lua_checkstack.
For more details see section 3.2 - Stack Size of reference manual
can't we create many threads at once? or am i doing something wrong?