2009/5/25 Paul Marquess <Paul.Marquess@ntlworld.com>: > I assume you are referring to ENV->set_alloc and DB_DBT_MALLOC, DB_DBT_REALLOC,... ? Yep > My BerkeleyDB module is *NOT* thread safe at the moment, especially where transactions are concerned. Major surgery to BerkeleyDB.xs will be required to make it work. There's no need for thread safety from the POV of multiple Perl threads calling the BDB library, but rather the BDB library maintaining 2 additional internal posix threads. They are not exposed, so there's no threading concerns for the calling API. I had this working but obviously the code was failing other tests because I just kludged the allocation stuff. I think I emailed you about 3-4 months ago to that effect.Thread Previous