Home
last modified time | relevance | path

Searched refs:waitflag (Results 1 – 14 of 14) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dthread_wince.h100 int PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() argument
105 …intf(("%ld: PyThread_acquire_lock(%p, %d) called\n", PyThread_get_thread_ident(),aLock, waitflag)); 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()
114 if (waitflag==0 || (waitflag && waitResult == WAIT_OBJECT_0)) in PyThread_acquire_lock()
123 …ld: PyThread_acquire_lock(%p, %d) -> %d\n", PyThread_get_thread_ident(),aLock, waitflag, success)); in PyThread_acquire_lock()
Dthread_solaris.h107 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() argument
111 dprintf(("PyThread_acquire_lock(%p, %d) called\n", lock, waitflag)); in PyThread_acquire_lock()
112 if (waitflag) in PyThread_acquire_lock()
117 perror(waitflag ? "mutex_lock" : "mutex_trylock"); in PyThread_acquire_lock()
120 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
Dthread_pth.h123 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() argument
129 dprintf(("PyThread_acquire_lock(%p, %d) called\n", lock, waitflag)); in PyThread_acquire_lock()
131 status = pth_mutex_acquire(&thelock->mut, !waitflag, NULL); in PyThread_acquire_lock()
138 if ( !success && waitflag ) { in PyThread_acquire_lock()
143 status = pth_mutex_acquire( &thelock->mut, !waitflag, NULL ); in PyThread_acquire_lock()
156 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
Dthread_cthread.h92 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() argument
96 dprintf(("PyThread_acquire_lock(%p, %d) called\n", lock, waitflag)); in PyThread_acquire_lock()
97 if (waitflag) { /* blocking */ in PyThread_acquire_lock()
103 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
Dthread_foobar.h62 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() argument
66 dprintf(("PyThread_acquire_lock(%p, %d) called\n", lock, waitflag)); in PyThread_acquire_lock()
67 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
Dthread_pthread.h311 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() argument
317 dprintf(("PyThread_acquire_lock(%p, %d) called\n", lock, waitflag)); in PyThread_acquire_lock()
320 if (waitflag) in PyThread_acquire_lock()
326 if (waitflag) { in PyThread_acquire_lock()
334 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
406 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() argument
412 dprintf(("PyThread_acquire_lock(%p, %d) called\n", lock, waitflag)); in PyThread_acquire_lock()
418 if ( !success && waitflag ) { in PyThread_acquire_lock()
435 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
Dthread_atheos.h216 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() argument
221 waitflag)); in PyThread_acquire_lock()
224 if (waitflag) in PyThread_acquire_lock()
229 if (waitflag) in PyThread_acquire_lock()
236 lock, waitflag, strerror(errno))); in PyThread_acquire_lock()
238 dprintf(("PyThread_acquire_lock(%p, %d)-> %d\n", lock, waitflag, in PyThread_acquire_lock()
Dthread_lwp.h85 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() argument
89 dprintf(("PyThread_acquire_lock(%p, %d) called\n", lock, waitflag)); in PyThread_acquire_lock()
93 if (waitflag) in PyThread_acquire_lock()
102 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
Dthread_os2.h154 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() argument
167 waitflag)); in PyThread_acquire_lock()
172 _fmutex_request((_fmutex *)aLock, waitflag ? 0 : _FMR_NOWAIT)) in PyThread_acquire_lock()
180 if (!waitflag) in PyThread_acquire_lock()
Dthread_sgi.h238 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() argument
242 dprintf(("PyThread_acquire_lock(%p, %d) called\n", lock, waitflag)); in PyThread_acquire_lock()
244 if (waitflag) in PyThread_acquire_lock()
249 perror(waitflag ? "ussetlock" : "uscsetlock"); in PyThread_acquire_lock()
250 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
Dthread_beos.h212 int PyThread_acquire_lock( PyThread_type_lock lock, int waitflag ) in PyThread_acquire_lock() argument
217 dprintf(("PyThread_acquire_lock(%p, %d) called\n", lock, waitflag)); in PyThread_acquire_lock()
219 if( waitflag ) { in PyThread_acquire_lock()
233 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
Dthread_nt.h242 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() argument
246 …intf(("%ld: PyThread_acquire_lock(%p, %d) called\n", PyThread_get_thread_ident(),aLock, waitflag)); in PyThread_acquire_lock()
248 …success = aLock && EnterNonRecursiveMutex((PNRMUTEX) aLock, (waitflag ? INFINITE : 0)) == WAIT_OBJ… in PyThread_acquire_lock()
250 …ld: PyThread_acquire_lock(%p, %d) -> %d\n", PyThread_get_thread_ident(),aLock, waitflag, success)); in PyThread_acquire_lock()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Ddummy_thread.py95 def acquire(self, waitflag=None): argument
106 if waitflag is None or waitflag:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Ddummy_thread.py95 def acquire(self, waitflag=None): argument
106 if waitflag is None or waitflag: