consul/lib/semaphore
..
semaphore.go
semaphore_test.go