Embedded Systems Question: Download Embedded Systems 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.
Previous Question | Next Question |
What is Page Fault or Page thrashing? | DMA deals with which address (physical/virtual addresses)? |