Searched refs:aLock (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Python/ |
D | thread_wince.h | 71 HANDLE aLock; in PyThread_allocate_lock() local 77 aLock = CreateEvent(NULL, /* Security attributes */ in PyThread_allocate_lock() 82 dprintf(("%ld: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock)); in PyThread_allocate_lock() 84 return (PyThread_type_lock) aLock; in PyThread_allocate_lock() 87 void PyThread_free_lock(PyThread_type_lock aLock) in PyThread_free_lock() argument 89 dprintf(("%ld: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_free_lock() 91 CloseHandle(aLock); in PyThread_free_lock() 100 int PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() argument 105 …dprintf(("%ld: PyThread_acquire_lock(%p, %d) called\n", PyThread_get_thread_ident(),aLock, waitfla… in PyThread_acquire_lock() 108 waitResult = WaitForSingleObject(aLock, (waitflag ? INFINITE : 0)); in PyThread_acquire_lock() [all …]
|
D | thread_os2.h | 128 PyThread_free_lock(PyThread_type_lock aLock) in PyThread_free_lock() argument 131 type_os2_lock lock = (type_os2_lock)aLock; in PyThread_free_lock() 135 PyThread_get_thread_ident(),aLock)); in PyThread_free_lock() 138 if (aLock) { in PyThread_free_lock() 139 _fmutex_close((_fmutex *)aLock); in PyThread_free_lock() 140 free((_fmutex *)aLock); in PyThread_free_lock() 144 free(aLock); in PyThread_free_lock() 154 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() argument 161 type_os2_lock lock = (type_os2_lock)aLock; in PyThread_acquire_lock() 166 aLock, in PyThread_acquire_lock() [all …]
|
D | thread_nt.h | 214 PNRMUTEX aLock; in PyThread_allocate_lock() local 220 aLock = AllocNonRecursiveMutex() ; in PyThread_allocate_lock() 222 dprintf(("%ld: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock)); in PyThread_allocate_lock() 224 return (PyThread_type_lock) aLock; in PyThread_allocate_lock() 228 PyThread_free_lock(PyThread_type_lock aLock) in PyThread_free_lock() argument 230 dprintf(("%ld: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_free_lock() 232 FreeNonRecursiveMutex(aLock) ; in PyThread_free_lock() 242 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() argument 246 …dprintf(("%ld: PyThread_acquire_lock(%p, %d) called\n", PyThread_get_thread_ident(),aLock, waitfla… in PyThread_acquire_lock() 248 …success = aLock && EnterNonRecursiveMutex((PNRMUTEX) aLock, (waitflag ? INFINITE : 0)) == WAIT_OBJ… in PyThread_acquire_lock() [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 55032 u8 aLock[SQLITE_SHM_NLOCK]; /* Reserved space for locks */ 55044 #define WALINDEX_LOCK_OFFSET (sizeof(WalIndexHdr)*2+offsetof(WalCkptInfo,aLock))
|
/external/sqlite/dist/ |
D | sqlite3.c | 55032 u8 aLock[SQLITE_SHM_NLOCK]; /* Reserved space for locks */ 55044 #define WALINDEX_LOCK_OFFSET (sizeof(WalIndexHdr)*2+offsetof(WalCkptInfo,aLock))
|