Linux System Calls Question: Download Questions PDF
What is difference between spinlock, seamaphores and mutex and where to use it?
Answer:
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.
1.spinlock is something like polling.it spins for resouce until aloocated resouce releases.
2.binary semaphore and mutex are similar.
Download Linux System Calls Interview Questions And Answers
PDF
Previous Question | Next Question |
How to find out the dependency required for a package? | What does exec family return? |