Advanced Embedded Systems Question:
Download Questions PDF

Please explain whether we can use semaphore or mutex or spinlock in interrupt context in Linux Kernel?

Advanced Embedded Systems Interview Question
Advanced Embedded Systems Interview Question

Answer:

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

Download Advanced Embedded Systems Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me which register bank is used if we use the following instructions.
SETB PSW.3 A
SETB PSW.4 B?
Tell me which registers are used for register indirect addressing mode if data is on-chip?