From: Anthony Baxter Date: Wed, 1 Oct 2003 06:02:05 +0000 (+0000) Subject: added a warning from Greg about legacy mode with threads. X-Git-Tag: v2.3.2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a5495788f60ea9965d8134a0f081b57a4fc4a4f7;p=thirdparty%2FPython%2Fcpython.git added a warning from Greg about legacy mode with threads. --- diff --git a/Doc/lib/libbsddb.tex b/Doc/lib/libbsddb.tex index 8c6b39284669..59dbeb96479f 100644 --- a/Doc/lib/libbsddb.tex +++ b/Doc/lib/libbsddb.tex @@ -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