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

You've just been assigned to a project in a new technology how would you get started?

827


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

840


Suppose you buy some rtos, what are the features you look for in?

815


What is the main function of multiplexed address/data bus?

851


What is the difference between "set" logic, and "procedural" logic. When would you use each one and why?

786


Tell me what are the 4 types of inheritance relationship?

793


Tell me what is the function of dma controlled in embedded system?

848


Explain what is the difference between mutexes and semaphores?

800


Explain the difference between "set" logic, and "procedural" logic.

867


Explain how does combination of functions reduce memory requirements in embedded systems?

915


Tell me what are the commonly found errors in embedded systems?

861


Program to print the 32 number in form of binary, Hexa and ASCI.

2752


What is solid?

853


Tell me can a pointer be volatile?

871


Describe a pattern that is not the factory pattern? How is it used and when?

887