Re: deprecating gdk threads



On Fri 03 Aug 2012 16:24, Pavel Holejsovsky <pavel holejsovsky gmail com> writes:

> I'd like to bring up the issue of how language bindings should cope with
> this.

It is indeed pretty nasty, especially if you got used to a solution like
the java-gnome one.

> One way to solve this would be to put the burden on the bindings
> implementation, and force the bindings to queue g_object_unref() calls
> using g_idle_add() to be executed in the main thread.  This seems to be
> rather ineffective though.

Why do you consider it to be ineffective?  It seems to me that it would
work just as well (or poorly) as cross-thread signal marshalling.

Andy
-- 
http://wingolog.org/


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