Answers

Question and Answer:

  Home  Embedded Systems

⟩ Can we use semaphore or mutex or spin lock in interrupt context in linux kernel?

We cannot sleep in interrupt context so semaphores and mutex

can't be used.

Spinlocks can be used for locking in interrupt context.

 172 views

More Questions for you: