[Goodies-dev] [Goodies-commits] r1752 - in verve-plugin/trunk: . panel-plugin scripts

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Tue Jul 11 17:09:30 CEST 2006


Jannis Pohlmann wrote:
>>>+  /* Connect to load-binaries signal of environment */
>>>+  g_signal_connect (G_OBJECT (verve_env_get()), "load-binaries",
>>>G_CALLBACK (verve_plugin_load_completion), verve); +
>>
>>GCompletion is not thread-safe, you'll need to lock the access to your
>>GCompletion using a mutex or whatever if you access them from more
>>than one thread. Otherwise the plugin will crash randomly.
> 
> You mean like gdk_threads_enter/leave?

Using the global GDK lock would be another option, yes.

> - Jannis

Benedikt



More information about the Goodies-dev mailing list