[Digikam-devel] [Bug 133026] crashes on systems using hyperthreading
marcel.wiesweg at gmx.de
Thu Nov 9 17:31:33 GMT 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
------- Additional Comments From marcel.wiesweg gmx de 2006-11-09 18:31 -------
I think you do not need to use it in all (non-multithreaded) kipi-plugins.
First, I think most plugins provide a modal dialog, so the host application is blocked anyway.
If the host application is doing some multithreaded work while the plugin is running, that's a problem: using DDebug won't help, the mutex of the plugin will be different from the mutex of the host app, so you can with the same effect not use any mutex at all.
That's a limitation of wrapping a common library function with a application-private mutex, the real solution (for the future) is to make kdDebug thread-safe.
More information about the Digikam-devel