Message167409
> You may also use a constant size (CPU_SETSIZE) of the set used by
sched_setaffinity() to simplify the code.
As Antoine pointed out to me (and I was convinced itself, experimented with an example from man:CPU_SET(3)) the cpu_set functions work with a sets of more than CPU_SETSIZE processors. |
|
Date |
User |
Action |
Args |
2012-08-04 13:44:28 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, georg.brandl, amaury.forgeotdarc, pitrou, vstinner, giampaolo.rodola, benjamin.peterson, anacrolix, neologix, rosslagerwall, python-dev |
2012-08-04 13:44:28 | serhiy.storchaka | set | messageid: <1344087868.73.0.663240232677.issue12655@psf.upfronthosting.co.za> |
2012-08-04 13:44:28 | serhiy.storchaka | link | issue12655 messages |
2012-08-04 13:44:27 | serhiy.storchaka | create | |
|