On Tue, Jan 25, 2000 at 07:27:58PM +0100, [EMAIL PROTECTED] wrote:
> just a request today. Would it be possible to increase the number of
> priority levels?

Yes.

> I use several socket types, timers and idle watchers,
> so more levels would be fine. Currently, I think I could use 10 to 20
> levels, but (as almost always ;-) I would prefer the most flexible
> solution (which means no limit ;-). (Of course, an unlimited number
> makes no real sense, but the USEFUL number may vary from application to
> application, so ...)

Wow!  In which area do you need more levels?  Are you aware of
inactivity watchers?

 ASYNC    0    1    2    3    4    5    6    7    IDLE
                   HIGH      NORM

Hm. There is a non-zero performance cost and none of my code needs more
than 3-4 levels.  I like the simplicity of the current priority range. 
On the other hand, this isn't a big deal;  I am happy to increase it. 
But first, what perceived problem are you trying to address?

-- 
"Never ascribe to malice that which can be explained by stupidity."
                            via, but not speaking for Deutsche Bank

Reply via email to