Embedded Software Engineer Question:

Tell me whether we can use semaphore or mutex or spinlock in interrupt context in Linux Kernel?

Tweet Share WhatsApp

Answer:

Semaphore or Mutex cannot be used for interrupt context in Linux Kernel. While spinlocks can be used for locking in interrupt context.

Download Embedded Software Engineer PDF Read All 100 Embedded Software Engineer Questions
Previous QuestionNext Question
Explain various uses of timers in embedded system?Do you know what is priority inversion?