September 2017
Beginner to intermediate
396 pages
9h 46m
English
In this recipe, we will work with STM (Software Transactional Memory) which provides atomic blocks for executions. It provide more guarantees the about atomicity of the operation than MVars. We will work with an example of a bank account, where simultaneous transactions are trying to do the transaction with the same bank account.
Read now
Unlock full access