[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJIT and coroutines
- From: Adrian Sietsma <adrian_groups@...>
- Date: Sun, 30 Apr 2006 00:09:44 +1000
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
(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 ?