Share the joy
Rewrite lock. Lock a data, then write it, then release the lock.
copy-on-write, copy the data into a new place, update the date in new place. Then update the data’s reference to the new place.
Rewrite lock. Lock a data, then write it, then release the lock.
copy-on-write, copy the data into a new place, update the date in new place. Then update the data’s reference to the new place.