The text 4ba640fb8bc5, as FreeBSD 9.1-RELEASE shipped it.
lock a mutex
pthread_mutex_lock(3) on FreeBSD now