Python : Any way to get one process to have a write lock and others to just read on parallel?

前端 未结 5 1357
野的像风
野的像风 2020-12-01 09:36

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

5条回答
提交回复
热议问题