PingPong is a classic example where 2 players (or threads) access a shared resource – PingPong Table and pass the Ball (state variable) between each other. With any shared resource, unless we…
View post:
Akka STM – Playing PingPong with STM Refs and Agents