Re: threads



Hi,

Evgeny Chukreev <codedj echo ru> writes:

> Is it safe to use g_object_ref and g_object_unref in a app with threads?
> Do I need to lock GObject before?

you need to do the locking yourselves, g_object_ref/unref is not MT
safe.


Salut, Sven



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