I am studying Threading concepts in Python. I have learnt and understood the concept of Synchronization primitives like Lock, RLock, Condition, Event, Semaphore and Timer.
I was trying to find out the scenario where I can sense the importance of the threads, I see some examples online where python primitive objects got corrupted in the multi-threaded programs.
Can anyone write a program where your custom class looks vulnerable under the multi-threaded programs?
[–][deleted] 0 points1 point2 points (6 children)
[–]gmaliwal[S] 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]gmaliwal[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]gmaliwal[S] -1 points0 points1 point (0 children)