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