Skip to content
Commit 5be40f03 authored by Pablo de Lara's avatar Pablo de Lara
Browse files

perf: fix FreeBSD compilation

Include <sys/cpuset.h> available in FreeBSD when compilation
is done on this OS and use cpuset_affinity, instead of
sched_affinity.

Also, use posix_memalign for Linux and FreeBSD, instead of memalign,
since this function is available on both OSes.

This commit is part of fix for #62.
parent 5d762272
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment