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 what is return type of isr?
Explain the components of an embedded system?
What is interaction semantics used in embedded systems?
Tell me can static variables be declared in a header file?
How are variables mapped across to the various memories by the c compiler?
Explain the properties of a object oriented programming language.
How to implement a fourth order butter worth lp filter at 1 khz if sampling freuency is 8 khz?
Describe a software development life cycle that you've managed.
Describe, in as much detail as you think is relevant, as deeply as you can, what happens when I type "cnn.com" into a browser and press "go".
What is a semaphore? What are the different types of semaphore?
What are the characteristics of embedded system?
What are the functional requirements that are used in the embedded systems?
What is a 'const' variable?
Why cannot arrays be passed by values to functions?
Infinite loops often arise in embedded systems. How does you code an infinite loop in c?