llvm.org GIT mirror llvm / 279a89e
[lit] Stop hacking the GIL check interval. - This was never a big win, and is irrelevant now that we commonly use multiprocessing based parallelism. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193280 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 5 years ago
1 changed file(s) with 0 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
108108 f.close()
109109
110110 def main(builtinParameters = {}):
111 # Bump the GIL check interval, its more important to get any one thread to a
112 # blocking operation (hopefully exec) than to try and unblock other threads.
113 #
114 # FIXME: This is a hack.
115 sys.setcheckinterval(1000)
116
117111 # Use processes by default on Unix platforms.
118112 isWindows = platform.system() == 'Windows'
119113 useProcessesIsDefault = not isWindows