Upcall handler

John Tytgat John.Tytgat at aaug.net
Thu Dec 6 19:14:09 PST 2001


In message <7770c9e44a.peter at moo.chocky.org>
          Peter Naulls <peter at chocky.org> wrote:

> In message <20011206200607.Y21702 at plum.flirble.org>
>           Nicholas Clark <nick at ccl4.org> wrote:
> 
> > On Thu, Dec 06, 2001 at 07:39:15PM +0000, Peter Naulls wrote:
> > > Let's remove it.
> > 
> > Why do I remember the PRMs saying if you install any of Escape Handler/
> > Exit Handler/Upcall Handler you must install all 3?
> 
> Yes, page 1-294.
> 
> In most cases, Unixlib explicitely restores the environment (which is
> why the PRM says this).
> 
> > What happens if user code does os_cli() on something that turns out to be
> > a new task?
> 
> Except in cases like this.  I'm not sure what's the best here.  But
> removing it certainly seems to be the lesser of two evils right now.
> 
> It may be we have to have a module to do this.

Does someone know what the ANSIlib is doing in its handler code ? It just
occured to me that this (no longer supported) lib is in the same situation
as UnixLib.

John.
-- 
John Tytgat, in his comfy chair at home                                 BASS
John.Tytgat at aaug.net                             ARM powered, RISC OS driven



More information about the gcc mailing list