Searched refs:lock_get (Results 1 - 3 of 3) sorted by relevance

/external/python/cpython2/Lib/bsddb/test/
H A Dtest_lock.py42 lock = self.env.lock_get(anID, "some locked thing", db.DB_LOCK_WRITE)
125 lock = self.env.lock_get(anID, "shared lock", db.DB_LOCK_WRITE)
128 self.env.lock_get,anID2, "shared lock", db.DB_LOCK_READ)
159 lock = self.env.lock_get(anID, "some locked thing", lockType)
/external/python/cpython2/Lib/bsddb/
H A Ddbobj.py91 def lock_get(self, *args, **kwargs): member in class:DBEnv
92 return self._cobj.lock_get(*args, **kwargs)
/external/python/cpython2/Modules/
H A D_bsddb.c1282 err = myenv->db_env->lock_get(myenv->db_env, locker, flags, obj, lock_mode,
6312 if (!PyArg_ParseTuple(args, "iOi|i:lock_get", &locker, &objobj, &lock_mode, &flags))
8967 {"lock_get", (PyCFunction)DBEnv_lock_get, METH_VARARGS},

Completed in 143 milliseconds