Today I am going to write about something I came across recently: making some already existing code thread-safe.
What does thread-safe mean? 🤓
Looking on Google we can find many similar definitions:
Thread-safety or thread-safe code in Java refers to code which can safely be used or shared in concurrent or multi-threading environment and they…