[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] LuaTask 1.6.1
- From: Paul Ducklin <duck@...>
- Date: Tue, 3 Jul 2007 19:48:31 +1000
>Obviously, a small stack may produce other
>problems.
IIRC Windows will extend the stack of any thread
(there is nothing special about threads on Windows;
they're effectively the native task scheduling unit)
up to the max stack size set in the EXE header, so
starting with a smaller size for all threads shouldn't
be a huge problem. The default max stack size is
IIRC 'all available VM'.
You can use the hackette I posted this a.m. to avoid
the realloc and thus to get a detectable error from
task.create before any trouble can happen.