1.

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.

We cannot sleep in interrupt context so semaphores and mutex can't be used. Spinlocks can be used for locking in interrupt context.



Discussion

No Comment Found