http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58996
--- Comment #14 from Barry Tannenbaum <barry.m.tannenbaum at intel dot com> --- The original author of the code is no longer working on the Cilk project, so I can't say why it's using sched_getaffinity + gettid instead the pthread routine. But I'll modify it to use the pthread routine and investigate support for >1024 cores. Is there a machine we can use to test that? - Barry