The text 7be94c2300db, as FreeBSD 8.4-RELEASE shipped it.
lock a semaphore
sem_timedwait(3) on FreeBSD now