Spinlock: Busy-Wait Synchronization
A spinlock is exactly what it sounds like: a lock that spins. When a thread tries to acquire a spinlock that’s already held, it doesn’t go to sleep and wait for the operating system to wake it up….
Read more →A spinlock is exactly what it sounds like: a lock that spins. When a thread tries to acquire a spinlock that’s already held, it doesn’t go to sleep and wait for the operating system to wake it up….
Read more →