Do we need a memory acquire barrier for one-shot spinlocks?
For locks (spin locks, mutex), we usually need to add acquire fence when locking to ensure the functionality of the lock.
For locks (spin locks, mutex), we usually need to add acquire fence when locking to ensure the functionality of the lock.