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