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.