bsddb3 thread problem

Nick Craig-Wood nick at craig-wood.com
Tue Apr 1 13:30:05 EDT 2008


anuraguniyal at yahoo.com <anuraguniyal at yahoo.com> wrote:
>  In my application I am trying to access(read) a DB thru a thread while
>  my main thread is adding data to it and it gives following error(s)
[snip]
>  Do anybody has a clue what I am doing wrong here?

Using threads with bsddb3.  I spent weeks trying to get it to behave
when threading.  I gave up in the end and changed to sqlite :-(

At least if you make a mistake with sqlite and use the wrong handle in
the wrong place when threading it gives you a very clear error.

-- 
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick



More information about the Python-list mailing list