bzrlib.osutils.local_concurrency() always return 1 on kfreebsd-*
Bug #693140 reported by
Jelmer Vernooij
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Low
|
Jelmer Vernooij | ||
bzr (Debian) |
Fix Released
|
Unknown
|
Bug Description
Rerported by Jakub Wilk in Debian bug #588853:
$ getconf _NPROCESSORS_ONLN
2
$ python -c 'from bzrlib.osutils import local_concurrency as c; print c()'
1
BTW, Python >= 2.6 already has a robust implementation of a similar function:
multiprocessing
Related branches
lp:~jelmer/bzr/multiprocessing-cpu_count
- Vincent Ladeuil: Approve
- John A Meinel: Needs Information
-
Diff: 61 lines (+17/-11)2 files modifiedbzrlib/osutils.py (+14/-11)
doc/en/release-notes/bzr-2.4.txt (+3/-0)
Changed in bzr (Debian): | |
status: | Unknown → Confirmed |
Changed in bzr (Debian): | |
status: | Confirmed → Fix Released |
Changed in bzr: | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
milestone: | none → 2.4b1 |
status: | Confirmed → Fix Released |
To post a comment you must log in.