Re: [PATCH 0/9] Add references counter to GrlMediaSourceFooSpec structures
- From: "Juan A. Suarez Romero" <jasuarez igalia com>
- To: grilo-list gnome org
- Subject: Re: [PATCH 0/9] Add references counter to GrlMediaSourceFooSpec structures
- Date: Tue, 13 Jul 2010 08:54:52 +0200
On Fri, 2010-07-09 at 18:53 +0200, Juan A. Suarez Romero wrote:
> So inspired by how GHashTable works, I added a refcount mechanism in
> GrlMediaSourceFooSpec structures. Thus, instead of directly destroying
> the
> struture, it is unrefered. And when creating it, it is done with
> refcount to 1.
> So when source invokes callback(remaining==0), spec is unrefered.
>
Anyone is against this change?
J.A.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]