Home
last modified time | relevance | path

Searched refs:lockobject (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dthreadmodule.c26 } lockobject; typedef
29 lock_dealloc(lockobject *self) in lock_dealloc()
44 lock_PyThread_acquire_lock(lockobject *self, PyObject *args) in lock_PyThread_acquire_lock()
70 lock_PyThread_release_lock(lockobject *self) in lock_PyThread_release_lock()
93 lock_locked_lock(lockobject *self) in lock_locked_lock()
131 sizeof(lockobject), /*tp_size*/
154 offsetof(lockobject, in_weakreflist), /* tp_weaklistoffset */
160 static lockobject *
163 lockobject *self; in newlockobject()
164 self = PyObject_New(lockobject, &Locktype); in newlockobject()
[all …]
/external/python/cpython3/Modules/
D_threadmodule.c22 } lockobject; typedef
25 lock_dealloc(lockobject *self) in lock_dealloc()
136 lock_PyThread_acquire_lock(lockobject *self, PyObject *args, PyObject *kwds) in lock_PyThread_acquire_lock()
166 lock_PyThread_release_lock(lockobject *self) in lock_PyThread_release_lock()
188 lock_locked_lock(lockobject *self) in lock_locked_lock()
200 lock_repr(lockobject *self) in lock_repr()
229 sizeof(lockobject), /*tp_basicsize*/
252 offsetof(lockobject, in_weakreflist), /*tp_weaklistoffset*/
529 static lockobject *
532 lockobject *self; in newlockobject()
[all …]