a spinlock is a Lock that causes a Thread trying to acquire it to simply wait in a loop while repeatedly checking whether 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