ticketLock atomicity macro updated