Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dbz2module.c64 #define ACQUIRE_LOCK(obj) do { \ macro
72 #define ACQUIRE_LOCK(obj) macro
517 ACQUIRE_LOCK(self); in BZ2File_read()
606 ACQUIRE_LOCK(self); in BZ2File_readline()
667 ACQUIRE_LOCK(self); in BZ2File_readlines()
827 ACQUIRE_LOCK(self); in BZ2File_write()
884 ACQUIRE_LOCK(self); in BZ2File_writelines()
1037 ACQUIRE_LOCK(self); in BZ2File_seek()
1199 ACQUIRE_LOCK(self); in BZ2File_close()
1514 ACQUIRE_LOCK(self); in BZ2File_iternext()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c1447 #define ACQUIRE_LOCK(l) pthread_mutex_lock(l) macro
1459 #define ACQUIRE_LOCK(l) DosRequestMutexSem(*l, SEM_INDEFINITE_WAIT) macro
1491 #define ACQUIRE_LOCK(l) win32_acquire_lock(l) macro
1506 #define ACQUIRE_MORECORE_LOCK() ACQUIRE_LOCK(&morecore_mutex);
1514 #define ACQUIRE_MAGIC_INIT_LOCK() ACQUIRE_LOCK(&magic_init_mutex);
2209 #define PREACTION(M) ((GLOBALLY_INITIALIZE() || use_lock(M))? ACQUIRE_LOCK(&(M)->mutex) : 0)
/external/dlmalloc/
Dmalloc.c1891 #define ACQUIRE_LOCK(sl) (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0) macro
1968 #define ACQUIRE_LOCK(lk) recursive_acquire_lock(lk) macro
1975 #define ACQUIRE_LOCK(lk) (EnterCriticalSection(lk), 0) macro
2004 #define ACQUIRE_LOCK(lk) pthread_mutex_lock(lk) macro
2038 #define ACQUIRE_MALLOC_GLOBAL_LOCK() ACQUIRE_LOCK(&malloc_global_mutex);
2743 #define PREACTION(M) ((use_lock(M))? ACQUIRE_LOCK(&(M)->mutex) : 0)
3095 static void pre_fork(void) { ACQUIRE_LOCK(&(gm)->mutex); } in pre_fork()