Αλέξανδρος Παπαδογιαννάκης, le Wed 16 Jun 2010 15:52:04 +0300, a écrit : > hwloc_set_thread_cpubind() by itself works. I have it on a different test > program > and it binds the threads without a problem. The problem is when the thread is > waiting on a barrier.
I understand. I'm just saying that concerning hwloc, being asleep or not shouldn't change the behavior, and the bug is most probably either in glibc or the kernel. The result of sched_setaffinity should tell us. Samuel