> Thanks for clarification. I assumed the error message of error code

> > SQLITE_BUSY is something like "databased is busy".
>
> http://www.sqlite.org/c3ref/c_abort.html
> Also in sqlite3.h file - comments on the right are almost exactly
> reflect the corresponding error message.
>

You are totally right.


>
> > Another newbie question. Is it safe for 2 threads to share 1 connection
> when
> > the connection is protected by my own mutex?
>
> Sure, everything protected by mutex can be considered executing in one
> thread and thus is never prone to multi-threading issues.
>
> Thanks for pointing out, very appreciated.
I'll restructure the code.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to