The text af94e4679029, as FreeBSD 10.1-RELEASE shipped it.
acquire a read/write lock for writing
pthread_rwlock_wrlock(3) on FreeBSD now