[ros-dev] TEB spacing
Ge van Geldorp
gvg at reactos.com
Sun Oct 3 18:02:51 CEST 2004
> From: Mike Nordell
>
> While I haven't looked at the application at hand, 2MB
> _committed_ stack strikes me as odd. Are the two threads
> actually created with 1MB committed stack, are they using the
> whole megabyte of the usually only reserved memory, or is the
> PE header stack members set to unusual values?
>
> Default used to be 1MB of reserved stack, with only one page
> committed.
The PE header says 2MB of reserved stack, with 4096 bytes committed.
However, our implementation overrides that (lib/rosrtl/thread/stack.c line
40), with a comment "FIXME: no SEH, no guard pages".
Gé van Geldorp.
More information about the Ros-dev
mailing list