Qualcomm Interview Question

Semaphore implementation in c++ Threading concepts