[Python-checkins] python/dist/src/Lib/bsddb dbobj.py,1.7,1.8

greg at users.sourceforge.net greg at users.sourceforge.net
Thu Aug 28 15:50:32 EDT 2003


Update of /cvsroot/python/python/dist/src/Lib/bsddb
In directory sc8-pr-cvs1:/tmp/cvs-serv353/bsddb

Modified Files:
	dbobj.py 
Log Message:
Support DBEnv.set_shm_key() to allow multi-threaded multi-process
database environments to use shared memory on systems supporting it.


Index: dbobj.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/bsddb/dbobj.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** dbobj.py	9 Jul 2003 04:45:59 -0000	1.7
--- dbobj.py	28 Aug 2003 21:50:30 -0000	1.8
***************
*** 40,43 ****
--- 40,45 ----
      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)





More information about the Python-checkins mailing list