The best replacement for spinlock is mutex. |
No companions for spinlock have been suggested so far. |
You have in mind a companion for spinlock and it is not yet here? Propose! |
spinlock |
|
mutex |
|
semaphore |
|