Persistent atomic value

Class to handle atomically persisting the sync pointers.