Google Interview Question

1) Semaphore and multi threading O.S