Sopra Steria Interview Question: Explain what a spin lock is.... | Glassdoor

Interview Question

Database Administrator Interview Salisbury, England (UK)

Explain what a spin lock is.


Interview Answer

1 Answer


In software engineering, a spinlock is a lock which causes a thread trying to acquire it to simply wait in a loop ("spin") while repeatedly checking if the lock is available. Since the thread remains active but is not performing a useful task, the use of such a lock is a kind of busy waiting.

Rajni on Nov 18, 2014

Add Answers or Comments

To comment on this, Sign In or Sign Up.