Qualcomm interview question

Semaphore C questions Priority inversion volatile