Brice Goglin, le Wed 11 Nov 2009 17:34:30 +0100, a écrit :
> Would it make sense to add support for the CPUBIND_THREAD policy in
> set_proc_cpubind? (and maybe rename it into set_pid_cpubind, or add
I answered in the ticket itself: linux 2.4 insanely mixed the notion of
pid and threads and it's still a mess. An application can't get a tid
without explicitely calling the linux-only system call, while it could
just use the portable pthread_self() and such.