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...

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

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

2330


What are system calls used for process management in linux?

1060


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

2595


Explain process management system calls in linux?

1018