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