Re: [sqlite] Problems with the Tcl extension (when threaded)

2006-05-13 Thread Silas Justiniano
John, thank you very much for your answer. I'll study that possibility. So I would ask what's the exactly purpose of multi-thread support, but I can't, because I even hadn't read the whole documentation. Thanks again. Bye! On 5/13/06, John Stanton <[EMAIL PROTECTED]> wrote: Your problem is not

Re: [sqlite] Problems with the Tcl extension (when threaded)

2006-05-13 Thread John Stanton
Your problem is not with threading, that seems to be working just fine, it is with the way Sqlite works. Since it is a single file it locks the entire file when you alter the DB so that only one thread/process can change it at a time. You need to rethink your application in such a way that yo

[sqlite] Problems with the Tcl extension (when threaded)

2006-05-12 Thread Silas Justiniano
Hello! I've downloaded sqlite-3_3_5-tea and compiled it correctly. It generates libsqlite335.so perfectly, but there is a problem. I compiled it with threads (I did ./configure --enable-thread and I checked -DTHREAD_SAFE=1 in the Makefile) but I can't write to the same database/table at the same