Inherits Reference < Object
NOTE: The semaphore is process-wide and only the first-initialized limit is used. Subsequent calls to semaphore() with different limits are ignored. This is intentional to avoid the overhead of Atomic or additional Mutex.