Your browser does not support the Canvas element.
摘要: 1、锁机制 为了保护数据,有了锁机制, from multiprocessing import Lock 导入锁模块 以存取钱为例 当你在存钱的时候,你的女朋友/男朋友正在取钱,此时你存10,他取10,由于数据没能及时更新,就有可能造成数据混乱。 一把钥匙配一把锁 包括12306购票系统也是应用了锁 阅读全文
posted @ 2018-08-21 21:30 一根小菜 阅读(158) 评论(0) 推荐(0)
Your browser does not support the Canvas element.