Upcall handler

Nick Burrett nick at dsvr.net
Mon Dec 17 04:06:07 PST 2001


Peter Naulls <peter at chocky.org> writes:

> Reply from Kevin Bracey:
> 
> "There were added in RISC OS 3 a number of buffer UpCalls that are
> actually called from interrupt routines. This is a Bad Thing(TM) - they
> should have been events. As a result, an UpCall handler may be being
> called from interrupts - I suggest you take care.
> 
> Apart from that, I can't think of any other reason why UpCalls are a bad
> thing per se."

If we are in an interrupt, then do you think exiting the upcall handler
without doing anything could be a suitable workaround.

We could perhaps exit the upcall handler early, if we are in an interrupt.

Nick.




More information about the gcc mailing list