[wx-dev] wxGTK wxMutexGuiEnter vs. gdk_threads_enter

Paul Cornett pc-wx at bullseye.com
Thu Jan 18 10:13:54 PST 2007


Vadim Zeitlin wrote:

> On Mon, 15 Jan 2007 11:47:22 -0800 Paul Cornett wrote:
> 
> PC> Having 2 different locks for the same purpose, used in different places 
> PC> (one of which is unintentionally disabled), is screwy. I think making it 
> PC> coherent is worth the added bit of ugly.
> 
>  I agree. Maybe it's also worth making it less ugly at the same time
> though, e.g. by moving wxMutexGuiEnter/Leave() functions in port-specific
> files or putting them into wxApp or wxAppTraits thus allowing to both
> provide a default implementation for all Unix ports and the possibility to
> override them for a specific port.

I like the wxAppTraits idea, but for 2.8 I will make a minimal change.




More information about the wx-dev mailing list