Searched refs:new_lock (Results 1 – 2 of 2) sorted by relevance
700 PyThread_type_lock new_lock = PyThread_allocate_lock(); in _PyThread_at_fork_reinit() local701 if (new_lock == NULL) { in _PyThread_at_fork_reinit()713 *lock = new_lock; in _PyThread_at_fork_reinit()
312 new_lock = evt._Event__cond._Condition__lock313 self.assertIsNot(new_lock, old_lock)314 self.assertIs(type(new_lock), type(old_lock))