Hi Frank,
thank you for explaining!
Best
Rainer
On 02.12.2008, at 10:05, Frank Schönheit - Sun Microsystems Germany
wrote:
Hi Rainer,
your "real" questions is still on my list :), but a quick answer to
this:
if one runs a query that (rightfully so :)) does
take a long time to finish, how much of OO is blocked during the wait
time? In the current state I can't even go on typing a text in Writer
while waiting, let alone edit something in Base. Is this specific to
my workspace?
No, it isn't.
Multi-Threading in OOo is tricky. For one, large parts of OOo are not
prepared for it (though most of the Base drivers are). Second, parts
of
the database vendors drivers are not prepared for it. Well,
honestly, in
particular Windows' ADO drivers have a good chance of simply crashing
when accessed from multiple threads (which does not even need to
happen
simultaneously). Fixing this on OOo side (by effectively putting the
ADO
driver in an own apartment, which runs in a dedicated thread) is
possible, but quite an effort.
Thus, "move to the last record" currently blocks the complete OOo UI.
There once was code which did this in a background thread, and large
parts of it are even there, but simply disabled because of the
problems
mentioned above. I'd love to resurrect it, but alas ...
Ciao
Frank
--
- Frank Schönheit, Software Engineer
[EMAIL PROTECTED] -
- Sun Microsystems http://www.sun.com/
staroffice -
- OpenOffice.org Base http://
dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]