Can we use semaphore or mutex or spin lock in interrupt
context in linux kernel ?
Answers were Sorted based on User's Feedback
Answer / achilles
We cannot sleep in interrupt context so semaphores and mutex
can't be used.
Spinlocks can be used for locking in interrupt context.
| Is This Answer Correct ? | 31 Yes | 6 No |
Answer / jagannath
spinlock with irq saved is the best choice in interrupt
handler.
| Is This Answer Correct ? | 5 Yes | 2 No |
How can you optimize the i/o performance?
What is inversion of control? How does that relate to dependency injection?
What are the components of embedded system?
what is meant by a forward reference in c?
hi i want to learn embedded system course. can anyone tel me which training center is best in chennai to learn embedded system? plz help me
What is the size of the int, char and float data types?
What is an embedded system and why it is used?
What happens when recursion functions are declared inline?
What is an anti-aliasing filter?
Have you developed software testing procedures for new systems and performed qa, quality assurance, or audits?
What are the languages used in embedded system?
Why is java mostly used in embedded systems?