Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The __sync_val_compare_and_swap() call is not made while unlocking the locked code, this causes the compiler to rearrange the code for optimization and hence defeats the purpose of the lock.
- Loading branch information