The text 8f40d8926f39, as FreeBSD 4.0-RELEASE shipped it.
initialize a read/write lock
pthread_rwlock_init(3) on FreeBSD now