]> git.proxmox.com Git - qemu.git/commit
trace: deal with deprecated glib thread functions
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 12 Feb 2013 13:34:05 +0000 (14:34 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 12 Feb 2013 22:26:44 +0000 (16:26 -0600)
commit4a0e6714b06453078e02029e1432fab052927691
tree94c97870a0b83f7668481a23d538766107750b58
parent30d940875dcd1adfbfd7fe7ccd3e543408519662
trace: deal with deprecated glib thread functions

g_thread_create() was deprecated in favor of g_thread_new() and
g_cond_new() was deprecated in favor of GCond initialization.  If the
host has glib 2.31 or newer, avoid using the deprecated functions.

This patch solves compiler warnings that are generated when glib's
deprecated functions are used.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1360676045-9204-3-git-send-email-stefanha@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
trace/simple.c