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 me what is semaphore?

911


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

908


Explain what is meant by a sandbox, why you would use one, and identify examples of sandboxes in the wild.

934


Discuss the concept of yagni and explain something you did recently that adhered to this practice.

830


Tell me what is rtos?

872


What is the difference between hard real-time and soft real-time os?

830


What is refactoring? Name three common refactorings.

1156


Tell me what is microcontroller?

891


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

929


What is dma in an embedded system?

986


can a pointer be volatile ? Explain.

941


Write a program to show the functionality of power-save super loop.

1131


Explain the difference between a microcontroller and an embedded system?

953


Tell me what is the difference between hardware design and software design?

901


What kinds of problems can you hit with locking model?

884