Re: LuaJIT and coroutines
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: LuaJIT and coroutines
- From: Adrian Sietsma <adrian_groups@...>
- Date: 2006年4月30日 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
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