mercurial/worker.py
changeset 18914 05d5821e0dc8
parent 18908 779e3d9b7a1d
child 19406 3185b347ae98
equal deleted inserted replaced
18913:79580b3140cd 18914:05d5821e0dc8
     4 #
     4 #
     5 # This software may be used and distributed according to the terms of the
     5 # This software may be used and distributed according to the terms of the
     6 # GNU General Public License version 2 or any later version.
     6 # GNU General Public License version 2 or any later version.
     7 
     7 
     8 from i18n import _
     8 from i18n import _
     9 import os, signal, sys, threading, util
     9 import errno, os, signal, sys, threading, util
    10 
    10 
    11 def countcpus():
    11 def countcpus():
    12     '''try to count the number of CPUs on the system'''
    12     '''try to count the number of CPUs on the system'''
    13 
    13 
    14     # posix
    14     # posix