> How do you know the read on connection B doesn't actually happen right
> _before_ the write on connection A? What kind of synchronization do
you
> employ between these two threads?

I'm using a critical section (with a CSingleLock) to synchronize
threads. However, just looking back at the code more closely now, I
think I see where the problem is. Both checks for existence of data can
finish up before any of the inserts are done and that is most probably
what I'm seeing here.

Thanks!

   Dennis


_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to