zfs/lib/libtpool
alaviss 1ea8942faa libtpool: don't clone affinity if not supported
pthread_attr_(get/set)affinity_np() is glibc-only. This commit
disable the code path that use those functions in non-glibc
system. Fixes the following when building with musl:

libzfs.so: undefined reference to`pthread_attr_setaffinity_np'
libzfs.so: undefined reference to`pthread_attr_getaffinity_np'

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Leorize <alaviss@users.noreply.github.com>
Closes #6571
2017-08-29 10:17:49 -07:00
..
Makefile.am Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00
thread_pool.c libtpool: don't clone affinity if not supported 2017-08-29 10:17:49 -07:00
thread_pool_impl.h Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00