Re: GObject thread safety
- From: Alex Larsson <alexl redhat com>
- To: Tim Janik <timj gtk org>
- Cc: Michael Meeks <michael ximian com>, Gtk+ Developers <gtk-devel-list gnome org>, Sebastian Wilhelmi <wilhelmi ira uka de>
- Subject: Re: GObject thread safety
- Date: Sat, 3 Nov 2001 00:56:07 -0500 (EST)
On Sat, 3 Nov 2001, Tim Janik wrote:
> On Sat, 3 Nov 2001, Alex Larsson wrote:
> > If I implement a class (even a class hierarchy), deriving from GObject,
> > and I've taken my time to make the classes internally thread safe (say
> > it's a process wide data object). I'm not using signals or object data,
> > and all the class methods are thread safe. Now I can use this object in
> > several threads. Except I can't memory manage it threadsafely, without
> > having my own ref/unref wrappers.
>
> i wonder what you want to gain from a data object that can't emit
> notification e.g. when it's data changes. without signals and object data,
> i'd be interested to hear why this is an object at all.
Yeah. It's sort of silly, but it could at least use the typesystem.
/ Alex
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]