Author serhiy.storchaka
Recipients amaury.forgeotdarc, anacrolix, benjamin.peterson, georg.brandl, giampaolo.rodola, neologix, pitrou, python-dev, rosslagerwall, serhiy.storchaka, vstinner
Date 2012-08-04.13:44:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344087868.73.0.663240232677.issue12655@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2012-08-04 13:44:28serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, amaury.forgeotdarc, pitrou, vstinner, giampaolo.rodola, benjamin.peterson, anacrolix, neologix, rosslagerwall, python-dev
2012-08-04 13:44:28serhiy.storchakasetmessageid: <1344087868.73.0.663240232677.issue12655@psf.upfronthosting.co.za>
2012-08-04 13:44:28serhiy.storchakalinkissue12655 messages
2012-08-04 13:44:27serhiy.storchakacreate