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 / achilles

We cannot sleep in interrupt context so semaphores and mutex
can't be used.
Spinlocks can be used for locking in interrupt context.

Is This Answer Correct ?    31 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you reduce memory requirements in embedded systems?

900


Explain me what is the main function of multiplexed address/data bus?

834


Can we put breakpoint inside isr?

798


Is count down_to_zero loop better than count_up_loops?

879


Why are patterns important?

853


How does combination of functions reduce memory requirements in embedded systems?

936


What are the most common errors you've found in embedded systems and how have you resolved them?

850


What's yagni? Is this list of questions an example?

827


What are the differences between mocks and stubs/fakes and where you might use them.

830


What type of software simulator and developer have you used?

778


How does the addition of service orientation change systems? When is it appropriate to use?

845


What is your experience with technical documentation?

975


Explain what happens when recursion functions are declared inline?

860


What is the use of volatile keyword?

880


What is size of character, integer, integer pointer, character pointer?

789