surenspost@gmail.com wrote:
2) The thread is not blocking as expected when osl_ExecuteProcess is
called and since it does not block, no other threads get executed. So
back to the problem of LO window hanging up. Probably I am using a
wrong osl_ProcessOption ?
Hi Suren,
meh, that's my bad - indeed, the osl functions don't block. Just
move osl_joinProcess(pProcess) into the pWorker function, and let
that one block (it's a separate thread, so no prob). The event then
can just contain the name of the temp file, that needs loading.
PS: The LGPL License in the file I had mentioned was copied from a
file in a folder to where this file should go. Please suggest the
proper license to be used for patches :)
If you copy code from other files, that header is correct (you may
add "Portions copyright Suren <email>, licensed under LGPLv3+ / MPL
1.1" there). If it's all your code, please use this template:
http://www.freedesktop.org/wiki/Software/LibreOffice/LicenseHeader
Cheers,
-- Thorsten
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.