On Wed, 2005-06-15 at 10:24 -0400, Christopher R. Palmer wrote: > In my case, I added printf statements to trace the fcntl calls and it was > the case that one thread did the fcntl to get the shared lock and then a > second thread attempted the fcntl to go from shared to exclusive. This is > where the problem occurs because the threads do not override each other's > locks on RedHat 9. >
I do not see how this is possible, unless you are sharing sqlite3* handles between threads (a strict no-no). I've sent you the instrumented os_unix.c file separately. Please prove me wrong... -- D. Richard Hipp <[EMAIL PROTECTED]>