diff --git a/_posts/2024-10-24-thread-safety-real-python-tutorial.md b/_posts/2024-10-24-thread-safety-real-python-tutorial.md index fb5a716..b746c8e 100644 --- a/_posts/2024-10-24-thread-safety-real-python-tutorial.md +++ b/_posts/2024-10-24-thread-safety-real-python-tutorial.md @@ -21,7 +21,7 @@ class SingletonClass(object): return cls.instance ``` -The SingleTonClass is supposed to have only 1 object, but the code can lead to the creation of more than one instances +The `SingletonClass` is supposed to have only 1 object, but the code can lead to the creation of more than one instances when executed in a multithreaded environment. Read the tutorial to spot such race conditions and learn to fix them using Python's synchronization primitives.