A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-November/039939.html below:

[Python-Dev] bsddb test case deadlocks fixed

[Python-Dev] bsddb test case deadlocks fixed [Python-Dev] bsddb test case deadlocks fixedAlex Martelli aleaxit at yahoo.com
Tue Nov 4 03:12:23 EST 2003
On Tuesday 04 November 2003 02:23 am, Gregory P. Smith wrote:
   ...
> There are no deadlock problems in the current 2.3.2 bsddb module as
> it does not have thread support enabled (meaning is likely to crash if
> someone uses it from multiple threads at once).

Ah!  Shows you how much I understood of your patch -- I hadn't grasped this!

> Net effect on release23-branch if we did this today:
>
>   + multithreaded bsddb use now allowed (instead of crashes or corruption)

Generally, extending functionality (as opposed to: fixing bugs or clarifying 
docs) is not a goal for 2.3.* -- but I don't know if the fact that bsddb 
isn't thread-safe in 2.3 counts as "a bug", or rather as functionality 
deliberately kept limited, to avoid e.g such bugs as the one you've just 
removed, and other possibilities you mention:

>   - multithreaded bsddb use could deadlock depending on how it is used.

I think that just having the 2.3.* docs explicitly mention the lack of 
thread-safety might then perhaps be better than backporting the changes.


Alex


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4