[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] coroutine-gthread.c: Avoid threading APIs depre
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] coroutine-gthread.c: Avoid threading APIs deprecated in GLib 2.31 |
Date: |
Mon, 19 Mar 2012 08:14:35 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Mar 15, 2012 at 09:55:02PM +0000, Peter Maydell wrote:
> On 15 March 2012 11:21, Stefan Hajnoczi <address@hidden> wrote:
> > It's ugly but it won't cause larger scale problems, so we should
> > probably pick this up.
> >
> > I was wondering if this is a legitimate case to override warnings -
> > because the new library probably still supports the deprecated
> > functions. But eventually we need to bite the bullet and convert the
> > code.
>
> Mmm. Eventually presumably we'll end up requiring at least glib
> 2.31 and we can drop the old stuff.
>
> Incidentally, there's another couple of uses of g_cond_new in
> trace/simple.c which probably also need conversion, but none of
> my use cases involve trying to compile that file so I left it
> alone...
Thanks for pointing that out. I've added it to my todo list.
Stefan