diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-05-25 16:22:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-05-25 16:29:31 +0200 |
commit | 3f250092747263fb14a3f13c4509ebd02ec2fb2a (patch) | |
tree | d8eb78431d619909b44206583eae6cf9f02a556d /sot | |
parent | 90f3840e4c767154266c6be1c532f5e748e8c3f7 (diff) |
Use simple createOneInstanceComponentFactory
...instead of static WeakReference and getGlobalMutex. The latter allowed for
deadlock, when one thread is in __getTypeEntries
(cppuhelper/source/implbase_ex.cxx), having locked getImplHelperInitMutex(), and
from there calls some cppu_detail_getUnoType (from a cppumaker-generated header)
that tries to lock getGloblaMutex, while another thread is in this
FactoryImpl_create, having locked getGlobalMutex, and from there calls into
__getTypeEntries.
Change-Id: Iac68d28c1a5971049447cc79384b6e186f2a6d82
Diffstat (limited to 'sot')
0 files changed, 0 insertions, 0 deletions