Home
last modified time | relevance | path

Searched refs:PyThread_acquire_lock (Results 1 – 25 of 31) sorted by relevance

12

/external/python/cpython2/Python/
Dthread.c268 PyThread_acquire_lock(keymutex, 1); in find_key()
321 PyThread_acquire_lock(keymutex, 1); in PyThread_delete_key()
375 PyThread_acquire_lock(keymutex, 1); in PyThread_delete_key_value()
Ddynload_beos.c75 PyThread_acquire_lock( beos_dyn_lock, 1 ); in beos_cleanup_dyn()
133 retval = PyThread_acquire_lock( beos_dyn_lock, 1 ); in beos_add_dyn()
Dthread_foobar.h62 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_cthread.h92 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_pthread.h313 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
411 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_wince.h100 int PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() function
Dthread_solaris.h107 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_lwp.h85 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_pth.h123 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_os2.h154 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() function
Dthread_atheos.h216 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_beos.h212 int PyThread_acquire_lock( PyThread_type_lock lock, int waitflag ) in PyThread_acquire_lock() function
Dthread_nt.h242 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() function
Dthread_sgi.h238 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dceval.c254 PyThread_acquire_lock(interpreter_lock, 1); in PyEval_InitThreads()
261 PyThread_acquire_lock(interpreter_lock, 1); in PyEval_AcquireLock()
277 PyThread_acquire_lock(interpreter_lock, 1); in PyEval_AcquireThread()
312 PyThread_acquire_lock(interpreter_lock, 1); in PyEval_ReInitThreads()
359 PyThread_acquire_lock(interpreter_lock, 1); in PyEval_RestoreThread()
427 if (PyThread_acquire_lock(lock, NOWAIT_LOCK)) in Py_AddPendingCall()
478 PyThread_acquire_lock(pending_lock, WAIT_LOCK); in Py_MakePendingCalls()
1119 PyThread_acquire_lock(interpreter_lock, 1); in PyEval_EvalFrameEx()
Dpystate.c33 #define HEAD_LOCK() PyThread_acquire_lock(head_mutex, WAIT_LOCK)
/external/python/cpython2/Include/
Dpythread.h19 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
/external/python/cpython2/Modules/
Dthreadmodule.c35 PyThread_acquire_lock(self->lock_lock, 0); in lock_dealloc()
52 i = PyThread_acquire_lock(self->lock_lock, i); in lock_PyThread_acquire_lock()
73 if (PyThread_acquire_lock(self->lock_lock, 0)) { in lock_PyThread_release_lock()
95 if (PyThread_acquire_lock(self->lock_lock, 0)) { in lock_locked_lock()
D_hashopenssl.c23 if (!PyThread_acquire_lock((obj)->lock, 0)) { \
25 PyThread_acquire_lock((obj)->lock, 1); \
312 PyThread_acquire_lock(self->lock, 1); in EVP_update()
D_testcapimodule.c1907 PyThread_acquire_lock(thread_done, 1); in test_thread_state()
1916 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
1926 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
2299 PyThread_acquire_lock(test_c_thread.start_event, 1); in call_in_temporary_c_thread()
2300 PyThread_acquire_lock(test_c_thread.exit_event, 1); in call_in_temporary_c_thread()
2310 PyThread_acquire_lock(test_c_thread.start_event, 1); in call_in_temporary_c_thread()
2314 PyThread_acquire_lock(test_c_thread.exit_event, 1); in call_in_temporary_c_thread()
Dbsddbmodule.c214 PyThread_acquire_lock(dp->di_lock, 0); in bsddb_dealloc()
235 Py_BEGIN_ALLOW_THREADS PyThread_acquire_lock(_dp->di_lock,1);
D_tkinter.c211 if(tcl_lock)PyThread_acquire_lock(tcl_lock, 1); tcl_tstate = tstate;
228 if(tcl_lock)PyThread_acquire_lock(tcl_lock, 1); tcl_tstate = tstate; }
3041 if(tcl_lock)PyThread_acquire_lock(tcl_lock, 1); in Tkapp_MainLoop()
3555 if(tcl_lock)PyThread_acquire_lock(tcl_lock, 1); in EventHook()
Dbz2module.c65 if (!PyThread_acquire_lock(obj->lock, 0)) { \
67 PyThread_acquire_lock(obj->lock, 1); \
/external/python/cpython2/Parser/
Dmyreadline.c196 PyThread_acquire_lock(_PyOS_ReadlineLock, 1); in PyOS_Readline()
/external/python/cpython2/PC/os2vacpp/
Dpython.def384 PyThread_acquire_lock

12