[Libreoffice] Suggestion needed for External Edit functionality.

surenspost at gmail.com surenspost at gmail.com
Sun Nov 14 12:54:28 PST 2010

On Sat, Nov 13, 2010 at 4:57 AM, Thorsten Behrens
<thb at documentfoundation.org> wrote:
> surenspost at 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

Learning < Doing
Learn By doing.

More information about the LibreOffice mailing list