Brice Goglin, le Wed 14 Dec 2011 11:21:30 +0100, a écrit :
> His sched.h defines the very old prototype of sched_setaffinity (pid,
> len, ulong*).
Urgl. Is it actually "very old"? I thought it was just a transient
prototype in glibc, between pid,mask and pid,size,mask, which IIRC was
never officially released... (there is a thread about it on the hwloc
mailing list).
> * change configure to also define a HWLOC_HAVE_SCHED_SETAFFINITY when
> there's a sched_setaffinity in sched.h (recent, old or very old)
> * change src/topology-linux.c to check HWLOC_HAVE_SCHED_SETAFFINITY
> before using syscall3
Agreed.
Samuel
|