Locking: issuing full memory barrier for all lock operations