https://bugs.documentfoundation.org/show_bug.cgi?id=88230

--- Comment #4 from Pranav Kant <[email protected]> ---
(In reply to Michael Meeks from comment #3)
> > However, I noticed that there are situations where we might need to call the
> > destructor of SolarMutexReleaser explicitly.
> 
> For that you should use:
> 
> class VCL_DLLPUBLIC SolarMutexClearableGuard
> 
> where you can explicitly release it earlier if necessary by calling clear().
> 
> Thanks !

The problem with using SolarMutexClearableGuard is that as soon as I create an
object of it, it will acquire the Mutex, whereas what we need is to release it
momentarily and then acquire it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to