[llvm-commits] [PATCH] [Lit] Use multiprocessing instead of threading

Sean Silva silvas at purdue.edu
Fri Nov 23 00:46:02 PST 2012


  So are we officially requiring Python 2.6 now? (multiprocessing was introduced in 2.6 according to <http://docs.python.org/2/library/multiprocessing.html>). I have nothing against this (in fact, I'm all for it), but I thought we still had some users that needed compatibility back to 2.4.

  Also, if we have multiprocessing, then (in a future patch) the function `detectCPUs` in `utils/lit/lit/Util.py` should be replaced with `multiprocessing.cpu_count()` <http://docs.python.org/2/library/multiprocessing.html#multiprocessing.cpu_count>.

http://llvm-reviews.chandlerc.com/D134



More information about the llvm-commits mailing list