On Mar 11 04:33, Daniel Colascione wrote:
> On 2/17/11 2:27 AM, Corinna Vinschen wrote:
> > There's no way
> > to start a process and tell the Windows loader where you want the stack.
> 
> True, but there's also no requirement to use the stack provided by the
> loader.  Why not always allocate a separate stack and switch to it early
> in initialization?

That might even work, but this, too, may be spoiled by the Windows
loader if it loads another DLL prior to cygwin.dll, and that other
DLL happens to use the stack area allocated by Cygwin in the parent
process.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to