Threading unfairness

Tim Peters tim.one at comcast.net
Fri May 24 13:54:17 EDT 2002


[Cliff Wells]
> I wonder if sys.setcheckinterval() would help.  I've seen it in
> the docs but haven't tested it myself.

Try it.  It can make a significant difference for better or worse, depending
on your app.  For example, Zope has threads that want to get a lot done per
timeslice, and the default check interval is too low for its needs; Zope
boosts it to 120.  That's probably the wrong direction to go if you're
worried about GUI responsiveness, though.






More information about the Python-list mailing list