On 3/11/2011 7:22 AM, Christopher Faylor wrote:
On Fri, Mar 11, 2011 at 04:33:56AM -0800, 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?

Taking control of the stack allocation doesn't mean that you will
magically be able to allocate space in the same address range in a
forked process.

What about using a large area of BSS as "stack"?

--
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