What is the story about thread safety — can a sqlite3 db handle be shared between threads?
Berkeley DB library is thread safe, the SQL API uses TDS (transactional data store), you are free to use any variety of threads (BDB is thread agnostic) or multiple processes accessing the database concurrently. Berkeley DB will manage locking, serialization, and other issues for you. You’ll want to learn about thread safety in SQLite too.
Related Questions
- Thread safety - Can the same type of graph (for example two xy plots) be up and running on separate threads?
- Does the manifold require PTFE thread sealing tape on the threads where it connects to the tank?
- What do I do if no thread is available to run on a context switch (i.e. all threads are blocked)?