|
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 (http://www.lua.org/manual/5.1/manual.html#3.2)can't we create many threads at once? or am i doing something wrong?
-- e.v.e