Hi Arnaud, Now I in all sqlite_exec functions my nanosleep() funcion, and already was using -DTHREADSAFE=1.
I still getting a few of "sqliteOsEnterMutex: Assertion `!inMutex' failed" and getting much more "library routine called out of sequence" about the sqlite_compile(), Im using simple call back function. Tnks! > First, you have to use the nanosleep() thing everywhere. And also when > doing sqlite_compile(). > Using nanosleep() only (I quote) "in every SQL exec function of my > program that may be use by two process/thread" is not enough. > > > > > > But Im still not geting it right, Im geting this msg and a "Abort" in my > > program: > > > > SQLITE_BUSY: sleeping fow a while... > > SQLITE_BUSY: database is locked > > nariz: ./src/os.c:1540: sqliteOsEnterMutex: Assertion `!inMutex' failed. > > > > I had exactly the same problem when I failed to compile sqlite correctly > with -DTHREADSAFE=1. Make sure you used -DTHREADSAFE=1 by checking the > output of make. All gcc lines should contains the -DTHREADSAFE=1. -- Thiago Mello <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]