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

Explain what is return type of isr?

834


Explain the components of an embedded system?

842


What is interaction semantics used in embedded systems?

899


Tell me can static variables be declared in a header file?

792


How are variables mapped across to the various memories by the c compiler?

1088


Explain the properties of a object oriented programming language.

772


How to implement a fourth order butter worth lp filter at 1 khz if sampling freuency is 8 khz?

772


Describe a software development life cycle that you've managed.

783


Describe, in as much detail as you think is relevant, as deeply as you can, what happens when I type "cnn.com" into a browser and press "go".

720


What is a semaphore? What are the different types of semaphore?

804


What are the characteristics of embedded system?

870


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

846


What is a 'const' variable?

834


Why cannot arrays be passed by values to functions?

850


Infinite loops often arise in embedded systems. How does you code an infinite loop in c?

1139