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


Please Help Members By Posting Answers For Below Questions

Why is model transformations used in the embedded system?

448


Why do we need virtual device drivers when we have physical device drivers?

479


Describe a time when you collaborated with designers and engineers to deploy a new product. What was your role?

483


What is null pointer and what is its use?

430


What is solid?

468






What is the difference between hardware design and software design?

452


How do you react to people criticizing your code/documents?

441


Explain the difference between risc and cisc processor?

430


What are the uses of the keyword volatile?

498


Tell me what is the need for an infinite loop in embedded systems?

441


What's your experience with technical documentation?

467


what are buses used for communication in embedded system?

483


Tell me what are the different types of customizations that is used with the “volatile” keyword?

495


Name three primary attributes of object-oriented design. Describe what they mean and why they're important.

437


Have you designed ui, user interface?

437