Home
last modified time | relevance | path

Searched refs:pre_lock (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cpp192 bool pre_lock = false; in MutexPostLock() local
194 pre_lock = (flagz & MutexFlagDoPreLockOnPostLock) && in MutexPostLock()
197 if (pre_lock) in MutexPostLock()
207 if (first && pre_lock && common_flags()->detect_deadlocks) { in MutexPostLock()
287 bool pre_lock = false; in MutexPostReadLock() local
289 pre_lock = (flagz & MutexFlagDoPreLockOnPostLock) && in MutexPostReadLock()
292 if (pre_lock) in MutexPostReadLock()
302 if (pre_lock && common_flags()->detect_deadlocks) { in MutexPostReadLock()
/external/python/cpython3/Lib/
Dmailbox.py2078 pre_lock = _create_temporary(f.name + '.lock')
2079 pre_lock.close()
2087 os.link(pre_lock.name, f.name + '.lock')
2090 os.rename(pre_lock.name, f.name + '.lock')
2093 os.unlink(pre_lock.name)
2095 os.remove(pre_lock.name)
/external/python/cpython2/Lib/
Dmailbox.py1986 pre_lock = _create_temporary(f.name + '.lock')
1987 pre_lock.close()
1995 os.link(pre_lock.name, f.name + '.lock')
1997 os.unlink(pre_lock.name)
1999 os.rename(pre_lock.name, f.name + '.lock')
2004 os.remove(pre_lock.name)