Set the python thread switch interval to forever
This commit is contained in:
parent
1684bda1e9
commit
d4991424f9
@ -268,6 +268,7 @@ def setup_profiling(args):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
sys.setswitchinterval(1000.0) # we have only a single python thread
|
||||||
if isosx:
|
if isosx:
|
||||||
ensure_osx_locale()
|
ensure_osx_locale()
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user