On Thu, Nov 20, 2008 at 09:06:40AM -0500, Jonathan Lafontaine wrote: > thanks a lot, is it possible only for a process or for a thread also to set the affinity? Please, install man pages to your system. man sched_setaffinity: The affinity mask is actually a per-thread attribute that can be adjusted independently for each of the threads in a thread group. The value returned from a call to gettid(2) can be passed in the argument pid. -- Karel Zak <kzak@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html