The text 85ba0e813b05, as FreeBSD 9.2-RELEASE shipped it.
lock a semaphore
sem_timedwait(3) on FreeBSD now