CAS lock mechanism (no lock, spin lock, optimistic lock, lightweight lock) - user2025's blog - CSDN blog