dispatch_semaphore_create(3) on macOS
The text bdc69007bf19, as macOS 10.15.6, macOS 10.15.5, macOS 10.15.4, macOS 10.15.3, macOS 10.15.2, macOS 10.15.1, macOS 10.15, macOS 10.14.6, macOS 10.14.5, macOS 10.14.4, macOS 10.14.3, macOS 10.14.2, macOS 10.14.1, macOS 10.14 shipped it.
synchronized counting semaphore