Rewrite lock, copy-on-write

By | March 29, 2021
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.