sys.setcheckinterval

setcheckinterval(interval)

Set the interpreter’s check interval. This integer value determines how often the interpreter checks for periodic things such as thread switches and signal handlers. The default is 100, meaning the check is performed every 100 Python virtual instructions. Setting it to a larger value may increase performance for programs using threads. Setting it to a value <= 0 checks every virtual instruction, maximizing responsiveness as well as overhead.

 

A Django site. this page was rendered by a django application in 0.02s 2010-09-02 15:01:14.084154. hosted by webfaction.