Re: deprecating gdk threads



On Mon, 2012-08-06 at 17:52 +0000, Pavel Holejsovsky wrote:

> This is nice, much more lightweight, and does not use per-object slot.  
> The only drawback is that it must be done manually in the whole gdk/gtk/
> clutter.  But it might not actually be that big drawback.

Untested demonstration patch:

https://bugzilla.gnome.org/show_bug.cgi?id=681334

The tradeoff with this approach is that it's annoying to have to create
a separate structure to hold the native cleanup data.  

But scanning quickly through 'git grep _finalize', there's really not
that many finalizers which call libX11 functions.  It should be quite
doable to proxy them.

Clutter may be a different story, looking at it now.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]