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

Tell me what are the uses of the keyword volatile?

465


PROVIDE ME NOTES ON EMBEDDED TCHNLOGY

2433


Tell me how does the interrupts handle by using the threads?

410


How can you reduce interrupt latency?

420


How can you ensure that debugging a program while it's being used will not affect its functionality?

573






Do you know what is the use of volatile keyword?

449


What is the scope of a function that is declared as static?

457


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

528


What is an anti-aliasing filter?

499


How are macros different from inline functions?

433


What kinds of problems can you hit with locking model?

456


What is spin lock?

485


What are the types of embedded system?

501


Can you name the differences between object-oriented and component-based design?

501


What do you do to stay abreast of the latest technologies and tools?

476