oysteinkrog / SQLite.Net-PCL

Simple, powerful, cross-platform SQLite client and ORM - Updated version with PCL support
MIT License
353 stars 163 forks source link

Thread safe? #182

Open BrunoVT1992 opened 9 years ago

BrunoVT1992 commented 9 years ago

Is this database thread safe? If so, how can I check this? If not, how can I access the database safely from multiple threads?

vesavlad commented 9 years ago

sqlite is by default thread safe if it is compiled with the right flags. thread safety is and must be implemented in the loweste layer nearest the core of the sqlite, and as far it is compiled correctly it is thread safe.

trevoriancox commented 8 years ago

BUT see also #272

"SQLite is thread safe, but cannot be simultaneously accessed by multiple threads." ?