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