Subject: Re: how do I tell if I'm on the interrupt stack?
To: None <tech-kern@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-kern
Date: 09/05/2001 22:20:51
On Thu, Sep 06, 2001 at 11:48:34AM +0930, Greg Lehey wrote:
>
> > I can see how it would be useful but good code design should remove
> > the need for it to be present. I'd much prefer to see different
> > entry points pass information along about the current context in
> > which it is running.
>
> Hmm. In the cases I'm thinking of, that means gratuitous repetition
> of code. In my book, that's a hack too.
Uh, that's what *functions* are for.
--
Thor Lancelot Simon tls@rek.tjls.com
And now he couldn't remember when this passion had flown, leaving him so
foolish and bewildered and astray: can any man?
William Styron