Re: [Qemu-devel] [PATCH] trace: add glib 2.32+ static GMutex support

2013-12-13 Thread Stefan Hajnoczi
On Thu, Dec 12, 2013 at 07:36:18PM +0400, Michael Tokarev wrote: > 12.12.2013 18:52, Stefan Hajnoczi wrote: > > The GStaticMutex API was deprecated in glib 2.32. We cannot switch over > > to GMutex unconditionally since we would drop support for older glib > > versions. But the deprecated API war

Re: [Qemu-devel] [PATCH] trace: add glib 2.32+ static GMutex support

2013-12-12 Thread Michael Tokarev
12.12.2013 18:52, Stefan Hajnoczi wrote: > The GStaticMutex API was deprecated in glib 2.32. We cannot switch over > to GMutex unconditionally since we would drop support for older glib > versions. But the deprecated API warnings during build are annoying so > use static GMutex when possible. >

[Qemu-devel] [PATCH] trace: add glib 2.32+ static GMutex support

2013-12-12 Thread Stefan Hajnoczi
The GStaticMutex API was deprecated in glib 2.32. We cannot switch over to GMutex unconditionally since we would drop support for older glib versions. But the deprecated API warnings during build are annoying so use static GMutex when possible. Signed-off-by: Stefan Hajnoczi --- trace/simple.c