FreeBSD specific pthread calls