From: Groepaz (groepaz_at_gmx.net)
Date: 2003-10-07 23:48:34
On Tuesday 07 October 2003 15:31, Ullrich von Bassewitz wrote: > 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, "alarm" might actually be one case where the overhead wouldnt matter that much (alarm usually isnt used for high-frequency irq) :) > 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. yeah thats true. gpz ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-10-07 23:56:36 CEST