Philipp Lohmann - Sun Germany wrote:
Kay Ramme - Sun Germany - Hamburg wrote:
If I understand correctly, I see a problem with our current support of
Gnome < 2.4, as the SolarMutex may run out of sync with the GDK mutex,
which may lead to deadlocks in case of multiple threads. Possible
solutions IMHO are:
- In general use the GDK mutex as the underlying mutex for the Solar
Mutex. Unfortunately this is not as simple as it could be, as the GDK
mutex is non-recursive, while the Solar Mutex is recursive.
- Drop support for Gnome < 2.4 .
- Forbid per policy the direct use of GDK respectively
"gdk_threads_enter" etc.
Did I miss anything?
No, but I'd say the last point should be "using gdk_threads_enter might
lead to threading issues/deadlocks when using the gtk vcl plugin when
using gtk < 2.4 (e.g. Solaris < 10)". Forbidding is such a strong word
when this is really a non-issue on almost all platforms. I'd happily
drop gtk < 2.4 but we will need that support at least in the Sun
versions still until Solaris 9 is EOL - which will take a while yet - or
there is a patch available that upgrades the gtk package to >= 2.4 on
those platforms.
Agreed, lets go with a warning and let it be as it currently is. If I
find the time tomorrow I am going to put this somehow on a wiki page.
Just my 2 cents, pl
Again thanks
Kay
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]