Searched refs:Locktype (Results 1 – 3 of 3) sorted by relevance
128 static PyTypeObject Locktype = { variable164 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()
226 static PyTypeObject Locktype = { variable533 self = PyObject_New(lockobject, &Locktype); in newlockobject()1184 assert(Py_TYPE(obj) == &Locktype); in release_sentinel()1360 if (PyType_Ready(&Locktype) < 0) in PyInit__thread()1388 Locktype.tp_doc = lock_doc; in PyInit__thread()1389 Py_INCREF(&Locktype); in PyInit__thread()1390 PyDict_SetItemString(d, "LockType", (PyObject *)&Locktype); in PyInit__thread()
403 Locktype