Re: [cc65] mouse irq callback

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-10-07 15:31:19


On Sat, Oct 04, 2003 at 09:41:03PM +0200, Groepaz wrote:
> however, (in theory) there _is_ a irq handling api - see signal.h :=) all it
> takes is implementing "alarm" for example, and then you can have timer
> interupts (if the signal api works with c-code as signal handler that is,
> didnt check that :=))

I do still think that writing interrupt handlers in C is a bad idea because of
the overhead involved, and because most people don't realize that you can do
almost nothing in a signal handler, besides storing something into a variable
of type sig_atomic_t. 

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-10-07 15:34:17 CEST