• Kirill Smelkov's avatar
    *: threading.Lock -> sync.Mutex · 548f2df1
    Kirill Smelkov authored
    Similarly to 78d85cdc (sync: threading.Event -> chan) replace everywhere
    threaing.Lock usage with sync.Mutex . This brings 2 goods:
    
    - sync.Mutex becomes more well tested;
    - we untie ourselves from threading python module (threading.Lock was
      the last user).
    548f2df1
sync.py 4.21 KB