diff b/w spinlock, seamaphores and mutex and where to use it.
Answer Posted / 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 |
Post New Answer View All Answers