Searched refs:Locktype (Results 1 – 2 of 2) 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()
234 static PyTypeObject Locktype = { variable541 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()