Let\'s say I have a dictionary that contains key-values where the value is an object with a lock. Each process needs to get the lock to modify the specific object, but the k
For the reference: pygolang provides sync.RWMutex (2, 3), which is reader-writer mutex with priority for writers.
The dictionary has to be updated under corresponding rwmutex write-locked, while read access to the dictionary has to be done under read-lock.