1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[lit] Stop hacking the GIL check interval.

- This was never a big win, and is irrelevant now that we commonly use
   multiprocessing based parallelism.

llvm-svn: 193280
This commit is contained in:
Daniel Dunbar 2013-10-23 22:19:32 +00:00
parent 3903598ad6
commit 2764343ead

View File

@ -109,12 +109,6 @@ def write_test_results(run, lit_config, testing_time, output_path):
f.close()
def main(builtinParameters = {}):
# Bump the GIL check interval, its more important to get any one thread to a
# blocking operation (hopefully exec) than to try and unblock other threads.
#
# FIXME: This is a hack.
sys.setcheckinterval(1000)
# Use processes by default on Unix platforms.
isWindows = platform.system() == 'Windows'
useProcessesIsDefault = not isWindows