Threads share memory so it’s natural to use shared memory for communication between threads. However, the problems it leads to, such as data races, mean shared memory must be synchronised. In turn, this has led programmers to try to create locking protocols that eliminate races without introducing deadlocks. One of the posited solutions is to [...]
Filed under: Parallelism, Programming | Tagged: Haskell, software transaction memory, STM | Leave a Comment »




