On Tue, 20 Sep 2005, Marco Bambini wrote: >I know based on http://www.sqlite.org/faq.html#q8 that it is not safe >to share the same sqlite3 structure between multiple threads. >But what if I protect its access with a mutex? >It is safe?
Until recently, by chance, yes, on some platforms. Recent versions of SQLite explicitly disallow it and return an error if tried. Christian -- /"\ \ / ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL X - AGAINST MS ATTACHMENTS / \