On Jul 28, 2008, at 10:18 PM, Sébastien Escudier wrote:

>
>
> Hi
>
> I'd like to test thread safeness, so I created a test program which :
> - spawns two threads (let call them R thread and W thread)
> - R tread execute BEGIN EXCLUSIVE; and sleep for a long time
> - Then W thread tries to  write in the database and... succeeds
>
> sqlite3_threadsafe returns 1 and I don't change sqlite config at  
> runtime.
>
> Can you explain me why this can happen ?
> I am using sqlite v. 3.5.9


Post the test program and somebody will tell you.

Dan.

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

Reply via email to