Vin?cius da Silva wrote: > Each thread access the SQLiteManager array m_dbs, indexed by its unique > index provided by openmp. Since SQLiteManager opens a connection in its > init() method each thread has a private connection. The tests are passing > when I set the parallel loops for one thread only.
Try executing "BEGIN EXCLUSIVE" through two separate connections to the same DB file. Does it work? If yes, which file system are you using? Regards, Clemens