Hi there,
On Wed, 2012-08-08 at 11:34 -0700, anwen wrote:
Although you told me that I could veto this termination signal by throwing
TerminationVetoException. I am not sure how and where to handle the
TerminationVetoException and re-call XDesktop.terminate() to finally
close the office.
Presumably you could spawn another thread to wait until you've finished
what you're doing and call XDesktop.terminate() later ?
Since the SolarMutex is everywhere, do you have any suggestion to clear it
for a while and give a chance to close the worker thread ?
In case things arn't tangled enough - you can release the SolarMutex in
your current thread and give another thread a chance to get in using
XToolkit's "reschedule" method. Whether that is likely to make your life
only yet more tangled is unclear to me ;-)
Hope that helps,
Michael.
--
michael.meeks@suse.com <><, Pseudo Engineer, itinerant idiot
Context
- Re: Solarmutex Deadlock when Closing Calc which contains functions with XVolatileResult return values (continued)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.