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

Answer Posted / baazicha

You can give a binary semaphore from ISR.

Is This Answer Correct ?    2 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a pure function in arm terminology?

773


Tell me what is the need for an infinite loop in embedded systems?

633


What does DMA address will deal with?

676


Explain me how does the interrupt architecture works?

603


Explain the concept of convention over configuration, and talk about an example of convention over configuration you have seen in the wild.

580


What kinds of problems can you hit with lockless model?

623


What is the function of watchdog timer in embedded system?

644


Write a program to show the functionality of power-save super loop.

822


Explain what are real-time embedded systems?

748


What is meant by a sandbox, why you would use one.

588


Tell me how many types of ipc mechanism you know?

587


What are the functional requirements that are used in the embedded systems?

654


Can we put breakpoint inside isr?

563


Tell me how to create a child process in linux?

513


Explain interrupt latency and how can we decrease it?

603