lua-users home
lua-l archive

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


On Tue, Aug 09, 2005 at 02:39:13AM +0200, Mike Pall wrote:
> > My understanding is that Win32 fibers each get a C stack regardless and
> > that this C stack will expand as required. Is my understanding wong?
> 
> This is what I've read over at MSDN, too. But I haven't tried.
> 
> In my experiments the stack size setting seemed to be more
> or less ignored (on both Win98 and wine). But CreateFiberEx()
> is XP or W2KP-SP4 only.

http://blogs.msdn.com/oldnewthing/archive/2005/07/29/444912.aspx
may have a couple answers:

> STACK_SIZE_PARAM_IS_A_RESERVATION is new in XP, for previous versions of
> Windows we're entirely stuck because you can only increase the reserved
> stack side for each thread from the default, not decrease it. 

-- 
Glenn Maynard