musl/src/sched/affinity.c, branch master musl - an implementation of the standard library for Linux-based systems fix return value of pthread_getaffinity_np and pthread_setaffinity_np 2014年12月03日T03:17:52+00:00 Rich Felker dalias@aerifal.cx 2014年12月03日T03:17:52+00:00 66140b0c926ed097f2cb7474863523e4af351f5b these functions are expected to return an error code rather than setting errno and returning -1.
these functions are expected to return an error code rather than
setting errno and returning -1.
fix uninitialized output from sched_getaffinity 2014年12月03日T02:54:36+00:00 Rich Felker dalias@aerifal.cx 2014年12月03日T02:54:36+00:00 a56e339419c1a90f8a85f86621f3c73945e07b23 the sched_getaffinity syscall only fills a cpu set up to the set size used/supported by the kernel. the rest is left untouched and userspace is responsible for zero-filling it based on the return value of the syscall.
the sched_getaffinity syscall only fills a cpu set up to the set size
used/supported by the kernel. the rest is left untouched and userspace
is responsible for zero-filling it based on the return value of the
syscall.
add pthread_setaffinity_np and pthread_getaffinity_np functions 2013年08月11日T01:41:05+00:00 Rich Felker dalias@aerifal.cx 2013年08月11日T01:41:05+00:00 7406fdf5a18b37330de108abb0106f44ebdae2c6

AltStyle によって変換されたページ (->オリジナル) /