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