]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
added a warning from Greg about legacy mode with threads.
authorAnthony Baxter <anthonybaxter@gmail.com>
Wed, 1 Oct 2003 06:02:05 +0000 (06:02 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Wed, 1 Oct 2003 06:02:05 +0000 (06:02 +0000)
Doc/lib/libbsddb.tex

index 8c6b392846690c3c0b620391675262ea0fca65ff..59dbeb96479f1461570946a587056645ce0656a1 100644 (file)
@@ -31,6 +31,14 @@ compatible with the old python bsddb module.  For details about the more
 modern Db and DbEnv object oriented interface see the above mentioned
 pybsddb URL.
 
+\begin{notice}[warning]
+This legacy interface is not thread safe in python 2.3.x or earlier.  
+Data corruption, core dumps or deadlocks may occur if you attempt 
+multi-threaded access.  You must use the modern pybsddb interface 
+linked to above if you need multi-threaded or multi-process database 
+access.
+\end{notice}
+
 The \module{bsddb} module defines the following functions that create
 objects that access the appropriate type of Berkeley DB file.  The
 first two arguments of each function are the same.  For ease of