[Libreoffice] SolarMutex usage...

2011-10-21 Thread Michael Stahl
is there any authoritative documentation on when exactly the SolarMutex should be locked when coming from the UI? i know that it must be locked on UNO API method entry in the parts of the code that are not otherwise threadsafe, but i have no idea how the UI stuff / VCL works. for example,

Re: [Libreoffice] SolarMutex usage...

2011-10-21 Thread Caolán McNamara
On Fri, 2011-10-21 at 12:28 +0200, Michael Stahl wrote: now which frame in that stack should lock the SolarMutex ? Possibly a special case because the file dialog here is the gtk file dialog and its more a miracle it works than something to prod too hard :-) ? C.

Re: [Libreoffice] SolarMutex usage...

2011-10-21 Thread Michael Meeks
Hi Michael, Good catch with this :-) On Fri, 2011-10-21 at 12:28 +0200, Michael Stahl wrote: is there any authoritative documentation on when exactly the SolarMutex should be locked when coming from the UI? So - with the gtk+ backend, it should mirror the GDK_THREADS lock