TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Denis Tonn
from: David Noon
date: 1997-04-01 20:38:00
subject: Trap 0005

On Thursday, 97/03/27, Denis Tonn wrote to David Noon about "Trap
0005" as follows:

DT>  It *is* possible for compiler runtime to automaticly include an 
DT> exception handler and do "sparse stack allocation" transparently,
DT> but I don't see how the linker would have any control over the
DT> "stack size" settings for this case. 

Hi Denis,

The above is absolutely correct, and I think it applies here.

As I recall, Murray's program was a multi-threaded PL/I program, where
the stack for the secondary thread is allocated by the ATTACH statement
and, therefore, controlled by the PL/I RTL, not the linker. Since the
compiler defaults to generating stack probes it works a treat.

Regards

Dave


 * KWQ/2 1.2i * "... and Morgo, as the friendly drelb." -- G. Owen

--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 50/99 54/99 270/101 620/243 625/155 711/401 413 430 934 712/311 407
SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1
@PATH: 440/4 141/209 270/101 712/624 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.