What is spin lock?

Ankur Kulhari

Locks are used in operating system to reserve critical section resources for mutual exclusion.
Suppose a task is running and a little time (execution time) is left for its completion, That is:

What do you think about the article?