]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: threads: Fix pthread_setaffinity_np on FreeBSD.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 1 Dec 2017 17:19:43 +0000 (18:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 2 Dec 2017 13:23:12 +0000 (14:23 +0100)
commit829aa24459c633896113e9e438c43b9dfcdfce27
tree27e39ba734ef7606aa0434ad0a86059530b1586b
parentbaf6ea4bd5c6df7b9f91a612fb068df63b3d1eec
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.
src/haproxy.c