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


diff b/w spinlock, seamaphores and mutex and where to use it.

Answers were Sorted based on User's Feedback



diff b/w spinlock, seamaphores and mutex and where to use it...

Answer / kapil thakar

Spin lock used in kernel context. It will not allow the
process or thread to sleep.

While mutux and semaphore can go into sleep.

So this make the spin lock can be used in interrupt context
or interrupt.

Is This Answer Correct ?    0 Yes 0 No

diff b/w spinlock, seamaphores and mutex and where to use it...

Answer / raghava

mainly spinlock used in threads to avoid synchronization,where as semaphore and mutex used to avoid process synchronization.
1.spinlock is something like polling.it spins for resouce until aloocated resouce releases.
2.binary semaphore and mutex are similar.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Linux System Calls Interview Questions

Explain process management system calls in linux?

0 Answers  


what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?

2 Answers   NetApp,


why the kernel panic error was appering?

13 Answers   Air2Web, Allianz,


what is mean by raid and what are all raids available even in software and hardware?

5 Answers   Satyam,


if root user forget the password how to change it?

4 Answers   Wipro,


What are the signals we have in Linux

3 Answers   HCL, NetApp,


how to configure sendmail server on red hat linux version 4 and what and all we Require?

3 Answers   Wipro,


linux system its not booting up its showing groub error what i need to do?

4 Answers   Wipro,


what is iptabe on redhat linux?

3 Answers   CDAC,


how to configure http server on red hat linux4.0?

5 Answers   IBM,


How to get microseconds of system time from Redhat Linux 4.0

2 Answers  


what is cups and how to configure?

7 Answers   IBM,


Categories