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