Joe Mistachkin wrote:
> 
> Alexander Spence wrote:
> >
> > What is the purpose of these locks when Sqlite itself has been compiled
as ThreadSafe?
> >
> 
> I'm not sure what the original intent of that lock was; however, after
reviewing the code,
> that lock does not seem to serve a useful purpose.  My plan now is to
remove it for the
> next release.
> 

Further analysis and testing reveals a potential race condition when using
the connection
pool with that static lock removed (i.e. this may be causing the access
violation you are
seeing); however, the static lock itself is actually not a good solution to
this issue.
See my candidate fix for this issue here:

        https://system.data.sqlite.org/index.html/ci/0ed439a5e7?sbs=0

--
Joe Mistachkin

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to