No, when you acquire a lock, you are allowed to write to currlock immediately. It&#x27;s AFTER you&#x27;ve done whatever processing you need to do that you do a compare-and-set transactional write that verifies no one else has written to currlock between your acquisition and the completion of your task.