Pergunta de entrevista da empresa Texas Instruments

Question related to system programming and few on semaphores