• Home
  • Raw
  • Download

Lines Matching refs:aLock

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()
113 waitResult = WaitForSingleObject(aLock, waitflag ? 3000 : 0); in PyThread_acquire_lock()
123 …dprintf(("%ld: PyThread_acquire_lock(%p, %d) -> %d\n", PyThread_get_thread_ident(),aLock, waitflag… in PyThread_acquire_lock()
128 void PyThread_release_lock(PyThread_type_lock aLock) in PyThread_release_lock() argument
130 dprintf(("%ld: PyThread_release_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_release_lock()
132 if (!SetEvent(aLock)) in PyThread_release_lock()
133 …d not PyThread_release_lock(%p) error: %l\n", PyThread_get_thread_ident(), aLock, GetLastError())); in PyThread_release_lock()