Is using an 'anonymous' threading.Lock() always an error

join shbcf.ru