You might want to take a look at CFDatabaseBase which has support for
lots of db's including SQLite. It gives you the choice of running a
query without blocking the main thread.
<http://www.toomuchspace.com>
AC
On 23-Jun-06, at 2:50 PM, Marcel wrote:
As far as I know, this isn't possible (and of course I tried it),
because the RB SQLite interface isn't thread safe and locks up the
main thread until the query is done - independent from where you
place it or where you open the Db connection.
But I am still searching for a solution, because my program is
behaving like a sack full of buff-spotted woodpeckers because of this.
Best,
Marcel
On 23.06.2006, at 20:34, Scott Wagner wrote:
Could you not just create a new thread setting a propertie in the
thread just before running it.
Then putting your Sql code in the thread.
Scott
On Jun 23, 2006, at 1:25 PM, Marcel wrote:
Hello!
Does somebody know if this thread can run SQLite queries without
locking my program? Or is there another way of threading database
access?
Best,
Marcel
On 07.06.2006, at 23:13, REAL News wrote:
Westminster, CA, USA (June 7, 2006) -- Taylor Design has released
PreemptiveThreadTD 2.0, an update to the toolkit
which makes it easy for REALbasic users to execute code in OS
native,
preemptive threads on Mac OS X and Windows. Version 2.0 fixes
numerous bugs
which could lead to crashes when using version 1.0. Because the
class
interface changed slightly and requires changes to code which
was based on
version 1.0, the version has been incremented to 2.0.
...
...
_______________________________________________
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>
_______________________________________________
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>