if one of the critical section code (linked list) is under
ISR & another one in kernel thread ? How you will
synchronize for this critical section code ?

Answer Posted / nt

In the kernel thread you need to disable interrupts before
critical section code starts and then enable interrupts
just after critical section ends. In this way u will make
sure that either ISR or kernel thread execute critical
section at a time.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain process management system calls in linux?

559


I would like to know whether Simado and Setu products are they EPBX or not ?

1933


what are different ways the context switch happens from user to kernel space or vice-versa ?

2144


What are system calls used for process management in linux?

587