To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=109939





------- Additional comments from f...@openoffice.org Mon Mar  8 21:08:46 +0000 
2010 -------
@sb: All the listener containers/multiplexers (see UnoControl's maFooListeners
members) use the osl-mutex, as they're based on
::cppu::OInterfaceContainerHelper. So, at least this containers assumes that the
osl mutex is used for thread safety.

So, I assume replacing the osl mutex usage with solar mutex usage would
technically work, but potentially lead to other, perhaps more subtle problems.

Also, I don't really like the idea of paving UnoControl and derivees with
SolarMutex locks. SolarMutex usage is kind of transitive, so it would propagate
itself to e.g. form controls immediately. At some point, this renders
multi-threading useless.
In the current situation, where the SM is used only where needed (and in
UnoControl::draw, it obviously is strictly needed), we have a few deadlocks now
and then (rarely nowadays, really), but don't infest everything with the SM
pest. A state which I'd prefer.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to