Re: gobject in a threaded app
- From: Sven Neumann <sven gimp org>
- To: Evgeny Chukreev <sjah land ru>
- Cc: gtk-devel-list gnome org
- Subject: Re: gobject in a threaded app
- Date: 30 Aug 2002 15:25:37 +0200
Hi,
Evgeny Chukreev <sjah land 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 your own locking if objects are shared between threads.
g_object_ref | g_object_unref() doesn't perform any locking.
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]