| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
| thread_wince.h | 71 HANDLE aLock;
77 aLock = CreateEvent(NULL, /* Security attributes */
82 dprintf(("%ld: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock));
84 return (PyThread_type_lock) aLock;
87 void PyThread_free_lock(PyThread_type_lock aLock)
89 dprintf(("%ld: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock));
91 CloseHandle(aLock);
100 int PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag)
105 dprintf(("%ld: PyThread_acquire_lock(%p, %d) called\n", PyThread_get_thread_ident(),aLock, waitflag));
108 waitResult = WaitForSingleObject(aLock, (waitflag ? INFINITE : 0)); [all...] |
| thread_os2.h | 128 PyThread_free_lock(PyThread_type_lock aLock)
131 type_os2_lock lock = (type_os2_lock)aLock;
135 PyThread_get_thread_ident(),aLock));
138 if (aLock) {
139 _fmutex_close((_fmutex *)aLock);
140 free((_fmutex *)aLock);
144 free(aLock);
154 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag)
161 type_os2_lock lock = (type_os2_lock)aLock;
166 aLock,
[all...] |
| thread_nt.h | 214 PNRMUTEX aLock;
220 aLock = AllocNonRecursiveMutex() ;
222 dprintf(("%ld: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock));
224 return (PyThread_type_lock) aLock;
228 PyThread_free_lock(PyThread_type_lock aLock)
230 dprintf(("%ld: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock));
232 FreeNonRecursiveMutex(aLock) ;
242 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag)
246 dprintf(("%ld: PyThread_acquire_lock(%p, %d) called\n", PyThread_get_thread_ident(),aLock, waitflag));
248 success = aLock && EnterNonRecursiveMutex((PNRMUTEX) aLock, (waitflag ? INFINITE : 0)) == WAIT_OBJECT_0 ; [all...] |
| /external/python/cpython2/Python/ |
| thread_wince.h | 71 HANDLE aLock; 77 aLock = CreateEvent(NULL, /* Security attributes */ 82 dprintf(("%ld: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock)); 84 return (PyThread_type_lock) aLock; 87 void PyThread_free_lock(PyThread_type_lock aLock) 89 dprintf(("%ld: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); 91 CloseHandle(aLock); 100 int PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) 105 dprintf(("%ld: PyThread_acquire_lock(%p, %d) called\n", PyThread_get_thread_ident(),aLock, waitflag)); 108 waitResult = WaitForSingleObject(aLock, (waitflag ? INFINITE : 0)) [all...] |
| thread_os2.h | 128 PyThread_free_lock(PyThread_type_lock aLock) 131 type_os2_lock lock = (type_os2_lock)aLock; 135 PyThread_get_thread_ident(),aLock)); 138 if (aLock) { 139 _fmutex_close((_fmutex *)aLock); 140 free((_fmutex *)aLock); 144 free(aLock); 154 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) 161 type_os2_lock lock = (type_os2_lock)aLock; 166 aLock, [all...] |
| thread_nt.h | 214 PNRMUTEX aLock; 220 aLock = AllocNonRecursiveMutex() ; 222 dprintf(("%ld: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock)); 224 return (PyThread_type_lock) aLock; 228 PyThread_free_lock(PyThread_type_lock aLock) 230 dprintf(("%ld: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); 232 FreeNonRecursiveMutex(aLock) ; 242 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) 246 dprintf(("%ld: PyThread_acquire_lock(%p, %d) called\n", PyThread_get_thread_ident(),aLock, waitflag)); 248 success = aLock && EnterNonRecursiveMutex((PNRMUTEX) aLock, (waitflag ? INFINITE : 0)) == WAIT_OBJECT_0 [all...] |
| /external/python/cpython3/Python/ |
| thread_nt.h | 245 PNRMUTEX aLock; 251 aLock = AllocNonRecursiveMutex() ; 253 dprintf(("%ld: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock)); 255 return (PyThread_type_lock) aLock; 259 PyThread_free_lock(PyThread_type_lock aLock) 261 dprintf(("%ld: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); 263 FreeNonRecursiveMutex(aLock) ; 273 PyThread_acquire_lock_timed(PyThread_type_lock aLock, 293 PyThread_get_thread_ident(), aLock, microseconds)); 295 if (aLock && EnterNonRecursiveMutex((PNRMUTEX)aLock [all...] |
| /frameworks/av/media/libaaudio/tests/ |
| test_various.cpp | 548 std::unique_lock <std::mutex> aLock(mutex); 549 conditionVariable.wait(aLock, [=] { return finished; });
|
| /external/sqlite/dist/orig/ |
| sqlite3.c | [all...] |
| /external/sqlite/dist/ |
| sqlite3.c | [all...] |