Code example for Semaphore

Methods: acquirerelease