Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / jagannath

spinlock with irq saved is the best choice in interrupt
handler.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the need for an infinite loop in embedded systems?

809


What are the rules followed by mutexes?

889


What is continuous integration? Have you used it and why is it important?

770


Explain what is the difference between mutexes and semaphores?

772


Describe a time when you collaborated with designers and engineers to deploy a new product. What was your role?

773


Why is it better to use multi-threading polling instead of a single threading model?

1004


What buses are used for communication in embedded system?

795


What is the significance of watchdog timer in es?

792


How might a task-based model differ from a threaded model?

767


What are the different types of system involved in embedded system?

894


What are real-time embedded systems?

787


What is your experience with qa engineering?

783


What are recursive functions? Can we make them in line?

784


What is inversion of control? How does that relate to dependency injection?

833


What is the purpose of a watchdog timer?

881