Why spinlocks are used?
Answer / Jeetendra Srivastava
Spinlocks are used to minimize the context-switch overhead in situations where contention for a resource is expected to be low or temporary. Instead of blocking the thread and putting it to sleep, a spinning thread continues to execute and periodically checks if the lock is available.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do I find and delete files in linux?
Is there any relation between modprobe.conf file and network devices?
What is the virtual desktop in linux?
What are the significance of semaphores what are the different types of semaphores?
how do you list and flush all ip tables in linux?
What do you understand by Linux Kernal? Is it legal to edit it?
If a volume group named vg0 already exists and we need to extend this volume group up to 4gb. How will you do it?
Does windows run on linux?
How to connect to a remote server via ssh?
Can I put linux on my laptop?
Does linux run faster than windows?
What is the difference between linux and redhat?