1841
1841
def _local_concurrency():
1842
1842
return subprocess.Popen(['sysctl', '-n', 'hw.availcpu'],
1843
1843
stdout=subprocess.PIPE).communicate()[0]
1846
return subprocess.Popen(['sysctl', '-n', 'hw.ncpu'],
1844
1848
elif sys.platform == 'sunos5':
1845
1849
def _local_concurrency():
1846
1850
return subprocess.Popen(['psrinfo', '-p',],