office-gobmx/embeddedobj
Mike Kaganski fb94c8f64a Relax SolarMutexReleaser precondition to not require SolarMutex lock
As discussed on https://gerrit.libreoffice.org/c/core/+/164843/2#message-8873d3d119de7206b33bc824f5809b8b1d3d97da,
it is impossible at times to know in advance, if a specific code, that
must not be guarded by SolarMutex (e.g., calling to other threads, which
might need to grab the mutex), will itself be guarded by SolarMutex.
Before this change, a required pre-requisite for SolarMutexReleaser use
was existing lock of SolarMutex; otherwise, an attempt to release it
would call abort(). Thus, in some places we had to grab the mutex prior
to releasing it, and that itself introduced more potential for deadlock.

Now the SolarMutexReleaser is safe to use without the lock, in which
case, it will do nothing.

Change-Id: I8759c2f6ed448598b3be4d6c5109804b5e7523ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165262
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-03-25 06:27:32 +01:00
..
qa Only run test dependent on MS Paint OLE class, if Paint is installed 2023-12-11 22:10:18 +01:00
source Relax SolarMutexReleaser precondition to not require SolarMutex lock 2024-03-25 06:27:32 +01:00
test
util
CppunitTest_embeddedobj_general.mk move password handling from SwModelTestBase to UnoApiTest 2022-11-11 20:09:41 +01:00
CppunitTest_embeddedobj_msole.mk Only run test dependent on MS Paint OLE class, if Paint is installed 2023-12-11 22:10:18 +01:00
IwyuFilter_embeddedobj.yaml
Library_embobj.mk tdf#147590 update OLE object after document refresh 2022-05-10 09:02:01 +02:00
Library_emboleobj.mk Link to oledlg, and use OleUIInsertObjectW directly 2024-02-26 04:18:07 +01:00
Makefile
Module_embeddedobj.mk
README.md

Embedding Objects Into LibreOffice

Code for embedding objects into LibreOffice (reverse of embedserv module).