The text 37f9b81cc827, as OpenBSD 5.5, OpenBSD 5.4 shipped it.
Thread-safe semaphores
Thread::Semaphore(3p) on OpenBSD now