Can we use semaphore or mutex or spin lock in interrupt
context in linux kernel ?
Answer Posted / jagannath
spinlock with irq saved is the best choice in interrupt
handler.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Explain me what is semaphore?
What is the main function of multiplexed address/data bus?
Explain what is meant by a sandbox, why you would use one, and identify examples of sandboxes in the wild.
Discuss the concept of yagni and explain something you did recently that adhered to this practice.
Tell me what is rtos?
What is the difference between hard real-time and soft real-time os?
What is refactoring? Name three common refactorings.
Tell me what is microcontroller?
What are the functional requirements that are used in the embedded systems?
What is dma in an embedded system?
can a pointer be volatile ? Explain.
Write a program to show the functionality of power-save super loop.
Explain the difference between a microcontroller and an embedded system?
Tell me what is the difference between hardware design and software design?
What kinds of problems can you hit with locking model?