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
You've just been assigned to a project in a new technology how would you get started?
What is meant by a sandbox, why you would use one.
Suppose you buy some rtos, what are the features you look for in?
What is the main function of multiplexed address/data bus?
What is the difference between "set" logic, and "procedural" logic. When would you use each one and why?
Tell me what are the 4 types of inheritance relationship?
Tell me what is the function of dma controlled in embedded system?
Explain what is the difference between mutexes and semaphores?
Explain the difference between "set" logic, and "procedural" logic.
Explain how does combination of functions reduce memory requirements in embedded systems?
Tell me what are the commonly found errors in embedded systems?
Program to print the 32 number in form of binary, Hexa and ASCI.
What is solid?
Tell me can a pointer be volatile?
Describe a pattern that is not the factory pattern? How is it used and when?