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's your experience with qa engineering?

754


What is the difference between a web server, web farm and web garden? How would your web application need to change for each?

902


What's the difference between unit test and integration test?

858


Can you have constant volatile variables?

779


Why does pre-emptive multi-threading used to solve the central controller problem?

835


Can we use printf inside isr?

851


Discuss the differences between mocks and stubs/fakes and where you might use them (answers aren't that important here, just the discussion that would ensue).

860


Explain the differences between analytical and computational modeling?

904


What are some examples of anti-patterns?

992


Tell me why is java mostly used in embedded systems?

822


What is the last programming book you read?

864


How can you reduce memory requirements in embedded systems?

900


What does malloc do? What will happen if we have a statement like malloc(sizeof(0));

851


Explain how to reduce interrupt latency?

863


What are the 4 types of inheritance relationship?

888