The text ce9049d15db1, as FreeBSD 10.0-RELEASE shipped it.
lock a semaphore
sem_timedwait(3) on FreeBSD now