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():
|
||||
sys.setswitchinterval(1000.0) # we have only a single python thread
|
||||
if isosx:
|
||||
ensure_osx_locale()
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user