title: Is it possible to set pthread CPU affinity in OS X?
body: <p>In <strong>Linux</strong> there is a <strong>sched_setaffinity()</strong> function defined in <strong>sched.h</strong>, but I can't seem to find anything like that in <strong>Mac OS X 10.6 pthreads</strong> implementation... If it is not possible to set affinity, what is the default policy in <strong>OS X</strong>?</p>