Hi Sqlite list, Tito and Arnaud,

thanks for your help, I use the example of the link above, and I use the
nanosleep() in every SQL exec function of my program that may be use by
two process/thread.

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.

And sometimes I execute my program and a get:
"library routine called out of sequence", and gdb tells "Program exited
with code 01".

Has anybody got those errors? 

Thanks for your help in advance.

Thiago Mello



Em Ter, 2004-02-24 ās 13:32, Tito Ciuro escreveu:
> Hello Thiago,
> 
> http://www.sqlite.org/cvstrac/wiki?p=MultiThreading
> 
> Regards,
> 
> -- Tito
> 
> On 24 feb 2004, at 10:31, Thiago Mello wrote:
> 
> > Hi,
> >
> > Im using Sqlite in my application, and I want to two process bem able 
> > to
> > insert records in a table, SQLite support process concurrence, or I 
> > have
> > to do this in my program?
> >
> > If I have to do this in my program some one have a idea how can I do
> > this I tried to use some things already.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to