Hi, Il 14/11/18 10:00, Emilio Pozuelo Monfort ha scritto: > libs/fiber/src/numa/freebsd/pin_thread.cpp:13:10: fatal error: sys/thread.h: > No such file or directory
freebsd/pin_thread.cpp is basically a wrapper over cpuset_setaffinity, while linux/pin_thread.cpp is the same wrapper over pthread_setaffinity_np. I believe that even if the kernel is FreeBSD (which triggers the "freebsd" code to be used), the right thing to do is use pthread and so the "linux" code. I will try to implement that patch. Giovanni. -- Giovanni Mascellani <g.mascell...@gmail.com> Postdoc researcher - Université Libre de Bruxelles
signature.asc
Description: OpenPGP digital signature