Re: Changing the semantics of splsoftclock()

1999-06-27 Thread Jeroen Ruigrok/Asmodai
* Peter Wemm ([EMAIL PROTECTED]) [990627 09:02]: > Bruce Evans wrote: > > >>Why have splr semantics? That is, it raises to splsoftclock if current > > >>priority is lower, else doesn't fiddle with it. > > > > splsoftclock() has always had spllower() semantics, and its main users > > (kern_clock.c

Re: Changing the semantics of splsoftclock()

1999-06-26 Thread Peter Wemm
Bruce Evans wrote: > >>Why have splr semantics? That is, it raises to splsoftclock if current > >>priority is lower, else doesn't fiddle with it. > > splsoftclock() has always had spllower() semantics, and its main users > (kern_clock.c and kern_time.c) depend on this. > > FreeBSD has a preceden

Re: Changing the semantics of splsoftclock()

1999-06-25 Thread Matthew Jacob
> >>Why have splr semantics? That is, it raises to splsoftclock if current > >>priority is lower, else doesn't fiddle with it. > > splsoftclock() has always had spllower() semantics, and its main users > (kern_clock.c and kern_time.c) depend on this. Okay. Then Justin's suggestion of splcallout

Re: Changing the semantics of splsoftclock()

1999-06-25 Thread Bruce Evans
>>Why have splr semantics? That is, it raises to splsoftclock if current >>priority is lower, else doesn't fiddle with it. splsoftclock() has always had spllower() semantics, and its main users (kern_clock.c and kern_time.c) depend on this. FreeBSD has a precedent of not changing poor spl names

Re: Changing the semantics of splsoftclock()

1999-06-25 Thread Anonymous
[ I've dropped [EMAIL PROTECTED] based on a request from Theo since he cannot post back to some of these lists. ] >Why have splr semantics? That is, it raises to splsoftclock if current >priority is lower, else doesn't fiddle with it. This is what I meant to suggest, but if this is not doable,

Re: Changing the semantics of splsoftclock()

1999-06-25 Thread Anonymous
Why have splr semantics? That is, it raises to splsoftclock if current priority is lower, else doesn't fiddle with it. On Fri, 25 Jun 1999, Justin T. Gibbs wrote: > I've come across several instances where I need to fiddle with state that > is also touched by a timeout handler. From a naming s

Changing the semantics of splsoftclock()

1999-06-25 Thread Anonymous
[ Sorry for the duplicate message for some of you. I botched the headers on the original mail. ] I've come across several instances where I need to fiddle with state that is also touched by a timeout handler. From a naming standpoint, splsoftclock() sounds like the correct spl routine to use

Re: Changing the semantics of splsoftclock()

1999-06-25 Thread Anonymous
I've come across several instances where I need to fiddle with state that is also touched by a timeout handler. From a naming standpoint, splsoftclock() sounds like the correct spl routine to use for protecting these activities. Unfortunately this only holds true if splsoftclock() is used in a p

Changing the semantics of splsoftclock()

1999-06-25 Thread Anonymous
I've come across several instances where I need to fiddle with state that is also touched by a timeout handler. From a naming standpoint, splsoftclock() sounds like the correct spl routine to use for protecting these activities. Unfortunately this only holds true if splsoftclock() is used in a p