lock address space for every opertion, this very rough but should avoid corruption. It should be possible to let read operation happen concurrently