Support DBEnv.set_shm_key() to allow multi-threaded multi-process

database environments to use shared memory on systems supporting it.
This commit is contained in:
Gregory P. Smith 2003-08-28 21:50:30 +00:00
parent 376e63d5cd
commit 6676f6edc1
2 changed files with 18 additions and 0 deletions

View file

@ -39,6 +39,8 @@ class DBEnv:
return apply(self._cobj.open, args, kwargs)
def remove(self, *args, **kwargs):
return apply(self._cobj.remove, args, kwargs)
def set_shm_key(self, *args, **kwargs):
return apply(self._cobj.set_shm_key, args, kwargs)
def set_cachesize(self, *args, **kwargs):
return apply(self._cobj.set_cachesize, args, kwargs)
def set_data_dir(self, *args, **kwargs):