DealingWithMutation

Dealing with Mutation: Guarded Suspension

/
Guarded Suspension applies a unique strategy to deal with mutation. It signals when it is done with…
DealingWithMutation

Dealing with Mutation: Thread-Safe Interface

/
I continue my journey with concurrency patterns in today's post. The Thread-Safe Interface fits very…
DealingWithMutation

Dealing with Mutation: Locking

/
Locking is a classical way to protect a shared, mutable state. Today, I will present the two variants,…
Sharing

Dealing with Sharing

/
If you don’t share, no data races can happen. Not sharing means that your thread works on local variables.…