/Tag: locks

December 2018

Thread Synchronization with Lock in Python

By |2018-12-02T23:46:11+00:00December 2nd, 2018|Categories: Python, Tech|Tags: , , , , |

Why Lock() ? When 2 or more operations belonging to concurrent threads try to access the shared memory, a race condition can occur The easiest way to get around the race conditions is the use of a lock The operation of a lock is simple when a thread wants to access a portion of shared [...]