Embedded Systems Question: Download Questions PDF
Can we use semaphore or mutex or spin lock in interrupt context in linux kernel?
Answer:
We cannot sleep in interrupt context so semaphores and mutex
can't be used.
Spinlocks can be used for locking in interrupt context.
can't be used.
Spinlocks can be used for locking in interrupt context.
Download Embedded Systems Interview Questions And Answers
PDF
Previous Question | Next Question |
What is Page Fault or Page thrashing? | DMA deals with which address (physical/virtual addresses)? |