If you don't find an answer here, I suggest asking this question in the freebsd-hpc mailing list, because pthreads is a library for c/c++ multithreaded programming, and a "mutex" is a kind of lock on a resource used in parallel programming.