Re: [cc65] signals

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-05-29 13:38:53
Hi!

On Fri, May 27, 2005 at 12:37:37AM +0100, dominic beesley wrote:
> Well, some kind of user intervention is relevant. 

I see your point, but using signals won't work.

> After some more testing, and lots of reading through the OS disassembly,
> it seems
> though that hanging off the Escape vector is not too bad. Do the Unices
> not have these
> problems though. Processes can be swapped out at any point and then
> signals delivered?

Yes that works. But the architectures are slightly different:-)

> There are other signals which might come from the calling of an OS
> function.

In this case, signal are synchronous and can be used. But ... wouldn't make it
more sense to map these signals to error codes? Returning an apropriate error
code is used in most other cases. Or is that impossible on the BBC?

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun May 29 13:39:02 2005

This archive was generated by hypermail 2.1.8 : 2005-05-29 13:39:05 CEST