Whoops.  I forgot to mention RB 2006r2 Pro on Mac OS X 10.4.

Cheers!
Mark

On May 15, 2006, at 7:54 AM, Mark Lubratt wrote:

Well, to answer my own question (and for posterity):

After further digging it would appear that the REALSQLDatabase implementation is compiled without THREADSAFE set. Therefore, all calls to the library must be from the same thread that called sqlite_open() (or the object's constructor I would presume). So, I moved the scope of my REALSQLDatabase object from the project level and made it internal to the thread and everything works now.

Cheers!
Mark

On May 15, 2006, at 7:29 AM, Mark Lubratt wrote:

Hello!

I'm getting the following error when doing some database processing in a thread:

21 Library routine called out of sequence.

When I put the code back into the main thread, everything works fine. I Googled the error and it seems to be an internal SQLite error; which begs the question: Is REALSQLDatabase not thread safe? Has anyone else seen this error? Is there something I should be doing to put this code into a thread?

I haven't had the time to reduce the project down to try to replicate it, yet. However, if the list consensus is that's its a reportable bug, then I'll try.

Thanks!
Mark

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to