Mail Archives: djgpp/1993/03/18/11:31:03
of one wish and adds a new one. Since OS/2 2.0 is also braindead enough
to need a stack size in native images, (the microsoft fingerprints remain)
In OS/2 2.0 and higher, the stack size is merely an information for
the system to restrict stack growth. It is as if you used the rlimit
calls in Unix. OS/2 will not allocate the stack unless needed. You can
put an 8 Meg stack limit under OS/2 and not worry about the stack.
it would be nice if I could run the application under DOS using
GO32 and inquire at image exit (in DEBUG32?) how much stack had
actually been used by the image. This same feature could be used
to specify (with safety margin) the stack for the DPMI version of
the code (and my OS/2 ports...). And, if
How can you be sure that you used the maximum stack ?
How about recursion ?
Regards,
Rami
- Raw text -