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