Embedded Software Engineer Question:

Explain me what is semaphore?

Tweet Share WhatsApp

Answer:

A semaphore is an abstract datatype or variable that is used for controlling access, by multiple processes to a common resource in a concurrent system such as multiprogramming operating system. Semaphores are commonly used for two purposes

☛ To share a common memory space
☛ To share access to files

Download Embedded Software Engineer PDF Read All 100 Embedded Software Engineer Questions
Previous QuestionNext Question
Tell me what type of scheduling is there in RTOS?Please explain what is interrupt latency? How can you reduce it?