mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-10 04:22:06 +00:00
Update index.md
This commit is contained in:
committed by
Corbin Crutchley
parent
0f607a2765
commit
2284379dc9
@@ -95,8 +95,5 @@ testUser = testUser.increaseAgeByOne(); // instance B
|
||||
|
||||
Now in the scenario that Thread 1 is reading `instance A` and Thread 2 wants to increase the age, it will have to do so by creating an `instance B` instead of directly modifying `instance A`, so it is assured that Thread 1 will produce expected behaviour.
|
||||
|
||||
# Conclusion
|
||||
|
||||
Thread safety is a very complicated topic, but it's important to understand the concept
|
||||
|
||||
Thanks for taking the time to read this article, and make sure to check other Unicorn Utterance's blog posts!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user