Hi all,
I put Michael Meeks on CC:, as he seems to be the expert wrt GTK+ and
also the origin of the threading related stuff in VCLs GTK+ backend.
First, sorry for bothering you again. I am still trying to move the
Solar Mutex out of VCL, respectively to make VCL Solar Mutex
independent, so that it may be used as any ordinary library, the client
just needing to ensure that only a single thread at a time enters it.
Philipp was so kind, to make me aware of the fact, that the VCL GTK+
backend has a custom implementation of the SalYieldMutex (AKA the Solar
Mutex) combining GDKs multi-thread protection (see
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Threads.html) with VCLs
Solar Mutex.
Now my question, is it really necessary to call "gdk_threads_enter" /
"gdk_threads_leave", even if we ensure (by some other mutex) that only
one thread at a time can ever enter GTK+ / GDK?
Thanks for helping
Kay
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]