This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | pitrou |
|---|---|
| Recipients | amaury.forgeotdarc, anacrolix, benjamin.peterson, georg.brandl, giampaolo.rodola, neologix, pitrou, python-dev, rosslagerwall, vstinner |
| Date | 2012年08月04日.13:03:10 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1344085391.34.0.374671131855.issue12655@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
> Try with an initial value of ncpus=1.
Well, I've tried and it works:
>>> os.sched_getaffinity(0)
{0, 1, 2, 3}
> I don't know if CPU_SETSIZE is part of the standard (POSIX?).
These are Linux-specific functions. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012年08月04日 13:03:11 | pitrou | set | recipients: + pitrou, georg.brandl, amaury.forgeotdarc, vstinner, giampaolo.rodola, benjamin.peterson, anacrolix, neologix, rosslagerwall, python-dev |
| 2012年08月04日 13:03:11 | pitrou | set | messageid: <1344085391.34.0.374671131855.issue12655@psf.upfronthosting.co.za> |
| 2012年08月04日 13:03:10 | pitrou | link | issue12655 messages |
| 2012年08月04日 13:03:10 | pitrou | create | |