Embedded Software Engineer Question:

Explain me what is semaphore?

Embedded Software Engineer Interview Question
Embedded Software Engineer Interview Question

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


Previous QuestionNext Question
Tell me what type of scheduling is there in RTOS?Please explain what is interrupt latency? How can you reduce it?