<div class="gmail_quote">On Tue, Jul 24, 2012 at 1:44 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For now you could simply turn off setting affinities when only a single thread is requested.</blockquote></div><br><div>Longer term, I think we want to use CPU_COUNT, then use CPU_ISSET to fill in the current set. Then we'll partition that set among the threads in the pool. That's what I meant by "inherit" the process affinity. We should never be doing CPU_ZERO and adding in counting from zero.</div>