Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 beta 3/9/83; site x.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!cybvax0!frog!x!john From: john@x.UUCP (John Woods) Newsgroups: net.lang.c Subject: Re: setjmp: read the manual(short rerereply) Message-ID: <222@x.UUCP> Date: Wed, 24-Oct-84 13:51:37 EST Article-I.D.: x.222 Posted: Wed Oct 24 13:51:37 1984 Date-Received: Sun, 28-Oct-84 05:58:43 EST References: <363@tjalk.UUCP> Organization: Charles River Data Systems, Framingham MA Lines: 12 The idea of having the compiler recognize setjmp and do something helpful is interesting. Our (CRDS) compiler has a similar stunt which it pulls for our handle/raise routines (similar to setjmp/longjmp, but uses named conditions; quite a bit more similar to CLU's conditions); a function which calls handle to handle a condition will have its function-exit code modified slightly, because the Frame-Pointer in the stack frame is changed to point to a linked list of handled conditions. Yes, it is fairly grotesque, it's a hideous kludge, but it buys us a really powerful facility at NO extra cost (and if you call before midnight tonight...). -- John Woods, Charles River Data Systems, Framingham MA, (617) 626-1114 ...!decvax!frog!john, ...!mit-eddie!jfw, jfw%mit-ccc@MIT-XX.ARPA