Home
last modified time | relevance | path

Searched refs:new_lock (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Python/
Dthread_pthread.h700 PyThread_type_lock new_lock = PyThread_allocate_lock(); in _PyThread_at_fork_reinit() local
701 if (new_lock == NULL) { in _PyThread_at_fork_reinit()
713 *lock = new_lock; in _PyThread_at_fork_reinit()
/external/python/cpython2/Lib/test/
Dlock_tests.py312 new_lock = evt._Event__cond._Condition__lock
313 self.assertIsNot(new_lock, old_lock)
314 self.assertIs(type(new_lock), type(old_lock))