Embedded Software Engineer Question:
Explain me what is semaphore?
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
☛ To share a common memory space
☛ To share access to files
Previous Question | Next Question |
Tell me what type of scheduling is there in RTOS? | Please explain what is interrupt latency? How can you reduce it? |