Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dthreadmodule.c128 static PyTypeObject Locktype = { variable
164 self = PyObject_New(lockobject, &Locktype); in newlockobject()
922 Locktype.tp_doc = lock_doc; in initthread()
923 if (PyType_Ready(&Locktype) < 0) in initthread()
925 Py_INCREF(&Locktype); in initthread()
926 PyDict_SetItemString(d, "LockType", (PyObject *)&Locktype); in initthread()
/external/python/cpython3/Modules/
D_threadmodule.c234 static PyTypeObject Locktype = { variable
541 self = PyObject_New(lockobject, &Locktype); in newlockobject()
1190 assert(Py_TYPE(obj) == &Locktype); in release_sentinel()
1365 if (PyType_Ready(&Locktype) < 0) in PyInit__thread()
1391 Locktype.tp_doc = lock_doc; in PyInit__thread()
1392 Py_INCREF(&Locktype); in PyInit__thread()
1393 PyDict_SetItemString(d, "LockType", (PyObject *)&Locktype); in PyInit__thread()