The text 87529cefcb85, as FreeBSD 9.1-RELEASE shipped it.
lock a semaphore
sem_timedwait(3) on FreeBSD now