Received: from eggs.gnu.org ([2001:4830:134:3::10]:37420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBmkZ-0000Ap-1u for qemu-devel@nongnu.org; Thu, 15 Jan 2015 10:54:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBmkV-0002Yu-Sy for qemu-devel@nongnu.org; Thu, 15 Jan 2015 10:54:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBmkV-0002Ye-M3 for qemu-devel@nongnu.org; Thu, 15 Jan 2015 10:54:19 -0500 Date: Thu, 15 Jan 2015 16:54:15 +0100 From: Kevin Wolf Message-ID: <20150115155415.GE4361@noname.redhat.com> References: <1420823990-31461-1-git-send-email-marcandre.lureau@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1420823990-31461-1-git-send-email-marcandre.lureau@gmail.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] WIP: add GCoroutine support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?Q?Marc-Andr=E9?= Lureau Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com Am 09.01.2015 um 18:19 hat Marc-Andr=E9 Lureau geschrieben: > Learn to use the GCoroutine library instead of qemu own coroutine > implementation. >=20 > GCoroutine is hosted on github: > https://github.com/elmarco/gcoroutine >=20 > This allows to share the same coroutine implementation between various > projects (gtk-vnc and spice-gtk). It is related to the effort to push > coroutine support in GLib. See also: > https://bugzilla.gnome.org/show_bug.cgi?id=3D719362 Hm, I guess there might be uses for holding references after the coroutine has exited if there are external references to the coroutine, but is it useful not to drop one reference after the coroutine exits? I guess in most cases, and in qemu always, the caller isn't aware that the coroutine ended, so requiring an explicit call isn't as nice as it could be. Also, you modified the copyright lines. Would you mind restoring the author names as in the original code, as their license requires? I see that you also converted MIT licensed code into LGPL, without keeping the original license text as required. For my code, I'm fine with the conversion, but you should either have asked or left the original text in place. Kevin