[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] remove enable/disable interrupt flag
From: |
Alan Post |
Subject: |
Re: [Chicken-users] remove enable/disable interrupt flag |
Date: |
Thu, 29 Sep 2011 12:44:35 -0600 |
On Thu, Sep 29, 2011 at 08:35:41PM +0200, Jörg F. Wittenberger wrote:
> On Sep 29 2011, Alan Post wrote:
> >If a signal is called when C_interrupts_enabled is false, the signal
> >handler turns into a no-op.
> >
> >global_signal_handler calls C_raise_interrupt, but C_raise_interrupt
> >does nothing if C_interrupts_enabled is false, the entire routine is
> >contained in that if statement.
> >
> >My reading of that is that a signal being delivered when
> >C_interrupts_enabled is false wil cause that signal to be discarded.
> >
> >Yes?
>
> Yes. That's what I've been talking about in the next paragraph.
>
> With the changes I made (did I post them, did not I?) this problem is gone.
>
> Hence my question how to clean up the API. Default to possibly useless
> re-calling the handler (while it assumes possibly having missed a signal
> and hence re-check everything)? Provide a modified API which covers
> both cases? ...
>
It may have been posted before I was really attending to this
conversation. I can't find it in my archive. Would you mind
sending it to me again?
-Alan
--
.i ma'a lo bradi cu penmi gi'e du
- Re: [Chicken-users] remove enable/disable interrupt flag, (continued)
- Re: [Chicken-users] remove enable/disable interrupt flag, Alan Post, 2011/09/29
- Re: [Chicken-users] remove enable/disable interrupt flag, Alaric Snell-Pym, 2011/09/30
- Re: [Chicken-users] remove enable/disable interrupt flag, John Cowan, 2011/09/30
- Re: [Chicken-users] remove enable/disable interrupt flag, Alan Post, 2011/09/30
- Re: [Chicken-users] remove enable/disable interrupt flag, Jörg F . Wittenberger, 2011/09/30
- Re: [Chicken-users] remove enable/disable interrupt flag, Alan Post, 2011/09/30
- Re: [Chicken-users] remove enable/disable interrupt flag, John Cowan, 2011/09/30
- Re: [Chicken-users] remove enable/disable interrupt flag, Jörg F . Wittenberger, 2011/09/29
- Re: [Chicken-users] remove enable/disable interrupt flag, Alan Post, 2011/09/29
- Re: [Chicken-users] remove enable/disable interrupt flag, Jörg F . Wittenberger, 2011/09/29
- Re: [Chicken-users] remove enable/disable interrupt flag,
Alan Post <=
- Re: [Chicken-users] remove enable/disable interrupt flag, Jörg F . Wittenberger, 2011/09/29
- Re: [Chicken-users] remove enable/disable interrupt flag, Alan Post, 2011/09/29
- Re: [Chicken-users] remove enable/disable interrupt flag, Jörg F . Wittenberger, 2011/09/29
- Re: [Chicken-users] remove enable/disable interrupt flag -- SORRY, Jörg F . Wittenberger, 2011/09/29
- Re: [Chicken-users] remove enable/disable interrupt flag, Jörg F . Wittenberger, 2011/09/29
Re: [Chicken-users] remove enable/disable interrupt flag, alaric, 2011/09/30