[reSIProcate] about berkeley db thread safe
Scott Godin
slgodin at icescape.com
Wed Apr 18 09:13:58 CDT 2007
The UserStore is the only thing left that is accessed by multiple threads without mutexing, after my recent changes. Do you have any code to contribute for initializing Berkely DB environment for multithreaded access?
Thanks,
Scott
________________________________
From: resiprocate-devel-bounces at list.resiprocate.org on behalf of hongsion
Sent: Wed 4/18/2007 9:31 AM
To: resiprocate-devel at list.resiprocate.org
Subject: [reSIProcate] about berkeley db thread safe
Hi,
I found in repro Berkeley db is only used in single thread mode, to
use it in concurrent mode we have to initialize an environment for it. So I
think now repro's Store is not thread safe even using Berkeley db. Also we
found mysql connection will disconnect after long time no operation. So
there should be some work to keep alive for mysql connection in repro's
store. And I have a question why not use sqlite in repro.
Regards,
hongsion
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel at list.resiprocate.org
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070418/58968e39/attachment.htm>
More information about the resiprocate-devel
mailing list