Subject: Re: IPL-lowering functions should return 'void', and now they do.
To: Ben Harris <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 06/08/2000 12:22:39
>> it seems to me that splx() ought to be allowed to return void but that
>> the others should all return the previous ipl. i can, after all,
>> always ignore the return value of the spl() function if i don't need
>> it, right?
>Erm, the point is that anyone trying to lower the spl should be doing it
>permanently, and hence shouldn't need to know the old one. Anyone who
>needs to know what the spl was is probably doing the wrong thing.
>Also, it takes some effort for a function to return int rather than void,
>so making the spl-lowering functions return void should make them slightly
well...since you put it that way it makes more sense. i'll go back to
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."