Issue 4238: BSD support for multiprocessing.cpu_count (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/48488
classification
process
Created on 2008-10-30 05:18 by epg, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Files |
|
|
|
File name |
Uploaded |
Description |
Edit |
diff |
epg,2008-10-30 05:18 |
|
|
Messages (5) |
|
|
msg75353 - (view) |
Author: Eric Gillespie (epg) |
Date: 2008-10-30 05:18 |
Tested on NetBSD, but should work on any; sysctl goes back to 4.4BSD. |
|
|
msg75358 - (view) |
Author: STINNER Victor (vstinner) *  |
Date: 2008-10-30 09:04 |
I prefer to use the test "sys.platform in ('darwin', 'bsd')" ;-) |
|
|
msg75371 - (view) |
Author: Eric Gillespie (epg) |
Date: 2008-10-30 16:02 |
sys.platform is 'netbsd4', and presumably 'freebsd5' and so on, so that won't work. |
|
|
msg75372 - (view) |
Author: STINNER Victor (vstinner) *  |
Date: 2008-10-30 16:37 |
@epg: Ooops, I read sys.platform == 'bsd'. |
|
|
msg76548 - (view) |
Author: Jesse Noller (jnoller) *  |
Date: 2008-11-28 19:02 |
Fixed, trunk r67423 |
|
|
History |
|
|
|
Date |
User |
Action |
Args |
2022-04-11 14:56:40 |
admin |
set |
github: 48488 |
2008-11-28 19:02:04 |
jnoller |
set |
status: open -> closedresolution: fixedmessages: + |
2008-10-30 20:39:45 |
benjamin.peterson |
set |
assignee: jnollernosy: + jnoller |
2008-10-30 16:37:06 |
vstinner |
set |
messages: + |
2008-10-30 16:02:56 |
epg |
set |
messages: + |
2008-10-30 09:04:25 |
vstinner |
set |
nosy: + vstinnermessages: + |
2008-10-30 05🔞44 |
epg |
create |
|