[llvm] r193280 - [lit] Stop hacking the GIL check interval.

Daniel Dunbar daniel at zuster.org
Wed Oct 23 15:19:32 PDT 2013


Author: ddunbar
Date: Wed Oct 23 17:19:32 2013
New Revision: 193280

URL: http://llvm.org/viewvc/llvm-project?rev=193280&view=rev
Log:
[lit] Stop hacking the GIL check interval.

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

Modified:
    llvm/trunk/utils/lit/lit/main.py

Modified: llvm/trunk/utils/lit/lit/main.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/main.py?rev=193280&r1=193279&r2=193280&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/main.py (original)
+++ llvm/trunk/utils/lit/lit/main.py Wed Oct 23 17:19:32 2013
@@ -109,12 +109,6 @@ def write_test_results(run, lit_config,
         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





More information about the llvm-commits mailing list