pub type CrossProcessLockGeneration = u64;
A lock generation is an integer incremented each time the lock is taken by a different holder.
This is used to know if a lock has been dirtied.