[py-lmdb] Re: is the Environment class thread-safe ?

  • From: David Wilson <dw@xxxxxxxx>
  • To: py-lmdb@xxxxxxxxxxxxx
  • Date: Sat, 6 Jun 2015 04:24:42 +0000

On Sun, May 31, 2015 at 11:10:16PM +0200, Jean Jean La Terreur wrote:

i'm pretty sure the answer is "yes", but better thread-safe than thread-sorry
:)

Is the Environment class thread safe ?

Can i share an Environment instance object between multiple python threads ?

Hi Stephane,

Apologies for the late reply, this got buried in my inbox :) For the
list archive, per https://github.com/dw/py-lmdb/issues/89 there is now
some additional text under
http://lmdb.readthedocs.org/en/latest/#threads that roughly describes
thread safety.


David

Other related posts: