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