[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#913710: boost1.67: FTBFS on kfreebsd: failed updating 2 targets



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.mascellani@gmail.com>
Postdoc researcher - Université Libre de Bruxelles

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: