Actually REALSQL calls REALYieldToRB periodically within an
sqlite3_progress_handler routine.
So, about every .25 seconds we give time to RB to perform its tasks.
As far as I know, there is no other way in the plugin api to give
time to other threads...
---
Marco Bambini
http://www.sqlabs.net
http://www.sqlabs.net/blog/
On Dec 30, 2005, at 10:44 PM, Norman Palardy wrote:
On Dec 30, 2005, at 2:12 PM, Christian Miller wrote:
In place of "pBar.Refresh", I've tried "app.SleepCurrentThread
500" and "app.Doevents". Nothing seems to make the pole spin. In
the IDE, the maximum is set to zero so as soon as I show the
progress bar it should be spinning.
Any ideas?
Unless the plugin yield's a thread wont make any difference
And, it's entirely possible that because it's based on SQLite that
there are places where the SQlite code will not yield and so you're
stuck
One of the down sides to a co-operative model and incorporating
third party code
_______________________________________________
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>
|