Durga D <durga.d...@gmail.com> wrote: > I have used same gdbconn for all the threads. In my sample application, > it working perfectly in wal mode. > > Is it correct approach?
Approach to what? You've never stated the problem you are trying to solve. With this setup, you don't get any concurrency out of your four threads. All SQLite API calls are serialized on one mutex associated with the connection. Unless your threads do something else in parallel, you could just as well do all SQLite work on a single thread. > If yes, will tbb improves the performance for reader_threads? What's "tbb"? -- Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users