2 ms·Have look at Software Transactional Memory (as eg implemented in Haskell) for how to fix this.by eru 8mo agoHave look at Software Transactional Memory (as eg implemented in Haskell) for how to fix this.