Cameron Clark wrote in a message to Anthony Tibbs:
AT> extern unsigned _stklen = 10000;
CC> That's the strangest thing I've ever seen (runtime adjustment).
CC> Are there any sideffects to changing the variable at different
CC> places?
Only the value assigned at startup is used. However it would not be too much
of a problem to implement a system where you can adjust your stack at
runtime. Just a little messing around with realloc() and the LSS instruction.
greetz,
Tom
tomtorfs@mail.dma.be
--- timEd/2 1.10+
---------------
* Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516)
|