Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2015-03-30 | fix return value of pthread_getaffinity_np and pthread_setaffinity_np | Rich Felker | -8/+11 | |
these functions are expected to return an error code rather than setting errno and returning -1. (cherry picked from commit 66140b0c926ed097f2cb7474863523e4af351f5b) | ||||
2015-03-30 | fix uninitialized output from sched_getaffinity | Rich Felker | -1/+5 | |
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. (cherry picked from commit a56e339419c1a90f8a85f86621f3c73945e07b23) | ||||
2013-08-10 | add pthread_setaffinity_np and pthread_getaffinity_np functions | Rich Felker | -0/+26 | |