lua-users home
lua-l archive

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


Mike Pall wrote:

[...]

The default stack sizes are much lower for non-Windows systems.
The latest version of Coco/LuaJIT uses 60K (minimum: 36K).


I applied your patch, which (obviously) didn't solve the max creation problem, but both STACKSIZE 64000 in .def and /STACK:64000 in ldflags fix the problem.
(at least up to 20,000 threads)

It appears that the stack setting must be applied to the .exe, not the .dll - is that correct ?

Adrian