[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_newthread .. problem
- From: "Joseph Saadé" <jsaade@...>
- Date: Thu, 20 Dec 2007 08:41:25 -0800
oh i assumed this was the problem after i posted this :) ok thanks.
On Dec 20, 2007 8:03 AM, Vyacheslav Egorov <email@example.com
Joseph Saadé wrote:lua_newthread pushes newly created thread on the stack, but it does not
> can't we create many threads at once? or am i doing something wrong?
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