Benchmark the channel semaphore
A semaphore based on conditions