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

Why cant we have lock mechanism working here. Assign a lock
to the address space pointed to by the data structure.
Something like monitors or semaphores, why wouldn't that
work fine...instead of disabling interrupts and stuff...

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2130


Explain process management system calls in linux?

536


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

1922


What are system calls used for process management in linux?

576