Semaphore creation

Semaphore creation