commit | 829aa24459c633896113e9e438c43b9dfcdfce27 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Dec 01 18:19:43 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Dec 02 14:23:12 2017 +0100 |
tree | 27e39ba734ef7606aa0434ad0a86059530b1586b | |
parent | baf6ea4bd5c6df7b9f91a612fb068df63b3d1eec [diff] |
MINOR: threads: Fix pthread_setaffinity_np on FreeBSD. As with the call to cpuset_setaffinity(), FreeBSD expects the argument to pthread_setaffinity_np() to be a cpuset_t, not an unsigned long, so the call was silently failing. This should probably be backported to 1.8.