Re: [Vala] Thread unsafe GObject?

2010-10-21 Thread Jürg Billeter
Hi, On Thu, 2010-10-21 at 18:33 +, gerhard.gru...@documatrix.com wrote: > to solve the problem i have rewritten the gobject library so it > increments the value of static_fundamental_next in function > "g_type_fundamental_next" with a write-lock around it. > but wouldn't it be better if vala l

[Vala] Thread unsafe GObject?

2010-10-21 Thread gerhard . gruber
Hi, i am not sure if i should post this here but i think there is a problem with the gobject-library and threads or object orientation in vala and threads every time when i create an object in vala some of the resulting c-code looks like this: GType _get_type (void) { .. _type_i