RE: sched_setaffinity not working with kernel 2.6.32.15

From: Αλέξανδρος Παπαδογιαννάκης
Date: Wed Jun 23 2010 - 03:26:06 EST



And:
if(pthread_barrier_init(&barrier2, NULL, NR_THREADS)) {
should be:
if(pthread_barrier_init(&barrier2, NULL, NR_THREADS+1)) {

_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/