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

You can give a binary semaphore from ISR.

Is This Answer Correct ?    2 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A=7; b=8; x=a++-b; printf(“%d”, x ); what does this code give as output?

1033


Can a volatile be constant? Like

858


Differentiate between mutexes vs semaphores.

919


Please explain can structures be passed to the functions by value?

786


Tell me what are the different types of customizations that is used with the “volatile” keyword?

887


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

787


What is the significance of watchdog timer in embedded systems?

828


Explain me what are the different types of system involved in embedded system?

904


Tell me why is java mostly used in embedded systems?

823


What is an anti-aliasing filter?

901


Discuss the concept of yagni.

864


Do you know what is the function of watchdog timer in embedded system?

819


How can you stop your dba from making off with a list of your users’ passwords?

994


Tell us what is the need for an infinite loop in embedded systems?

864


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

858