What is difference between spinlock, seamaphores and mutex and where to use it?
Submitted by: Administratormainly 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.
Submitted by: Administrator
1.spinlock is something like polling.it spins for resouce until aloocated resouce releases.
2.binary semaphore and mutex are similar.
Submitted by: Administrator
Read Online System Calls Job Interview Questions And Answers
Top System Calls Questions
☺ | What happens when we do insmod & rmmod in Linux Device Drivers? |
☺ | What are the different ways the Linux can switch from User Space to Kernel Space & vice-versa? |
☺ | Difference between Raid 1 and Raid 5? |
☺ | What kind of information the Linux driver modules (.ko ) files has? |
☺ | What is the largest disk size can be used in LVM? |
Top Linux OS Categories
☺ | Device Drivers Interview Questions. |
☺ | Linux OS Management Interview Questions. |
☺ | Linux Makefile Interview Questions. |
☺ | Linux Environment Interview Questions. |
☺ | Linux OS Shell Interview Questions. |