Message330110
The general rule in Python is that nothing can be considered atomic unless specifically documented as atomic (such as the queue module or lru_cache which have internal locks). The only safe action is to put locks around all accesses to shared resources. We should have a FAQ entry to that effect. It should also note that "thread-safe" means different things to different people. |
|
Date |
User |
Action |
Args |
2018-11-19 19:14:33 | rhettinger | set | recipients:
+ rhettinger, vstinner, docs@python |
2018-11-19 19:14:33 | rhettinger | set | messageid: <1542654873.03.0.788709270274.issue35276@psf.upfronthosting.co.za> |
2018-11-19 19:14:33 | rhettinger | link | issue35276 messages |
2018-11-19 19:14:32 | rhettinger | create | |
|