From a5495788f60ea9965d8134a0f081b57a4fc4a4f7 Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Wed, 1 Oct 2003 06:02:05 +0000 Subject: added a warning from Greg about legacy mode with threads. --- Doc/lib/libbsddb.tex | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Doc/lib/libbsddb.tex b/Doc/lib/libbsddb.tex index 8c6b392..59dbeb9 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 -- cgit v0.12