The text ed6d7add77f6, as FreeBSD 10.1-RELEASE shipped it.
lock a mutex without blocking indefinitely
pthread_mutex_timedlock(3) on FreeBSD now