What threads does Bayonne use under FreeBSD?
Bayonne uses “native” FreeBSD threads as found in -lc_r. If you make the mistake of loading the linux “pthreads” library as well, as I did, it will only cause you confusion and grief. Most of the packages now have conditional #undef’s to undo what the linux pthread.h does since it’s typically included instead of pthread.h unless you build everything with a -prefix=/usr.