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 |
Explain how does combination of functions reduce memory requirements in embedded systems?
wat are the different rtos available? wat is the difference beetween RTOS ans OS
Have you designed ui, user interface?
Explain what is the difference between mutexes and semaphores?
What are the different types of customizations that is used with the “volatile” keyword?
If your database was under a lot of strain, what are the first few things you might consider to speed it up?
While writing interrupt handlers (ISR), which are points needed to be considered ?
Tell me what is microcontroller?
How can you optimize the i/o performance?
In 8085 microprocessor READY signal does.which of the following is incorrect statements [a]It is input to the microprocessor [b] It sequences the instructions
What is the function of simple thread poll in embedded system?
Explain what are the uses of the keyword static?