Re: [PATCH spice-gtk v2 12/19] coroutine: reference object when signaling

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

 



On Fri, Nov 14, 2014 at 01:59:47PM -0500, Marc-André Lureau wrote:
> 
> 
> ----- Original Message -----
> > On Fri, Nov 14, 2014 at 09:31:13AM -0500, Marc-André Lureau wrote:
> > > 
> > > 
> > > ----- Original Message -----
> > > > On Fri, Nov 14, 2014 at 12:32:35AM +0100, Marc-André Lureau wrote:
> > > > > Before the signal is actually emitted, the channel may be
> > > > > released. Let's keep a reference to the object during
> > > > > the function time, to prevent the object from being destroyed before
> > > > > calling g_signal_emit() in main context.
> > > > 
> > > > g_signal_emit()/g_object_notify() in main context.
> > > > 
> > > 
> > > Well it's for both, and g_object_notify() is a kind of g_signal_emit().
> > 
> > Yes, it's for both, hence my suggestion of mentioning both ;)
> > 
> > Christophe
> 
> done, ack with that?

Yup ACK, I should have mentioned that in my first answer <:)

Christophe

Attachment: pgpMMkiAsp5FS.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]