]> Git Repo - qemu.git/commit
trace: deal with deprecated glib thread functions
authorStefan Hajnoczi <[email protected]>
Tue, 12 Feb 2013 13:34:05 +0000 (14:34 +0100)
committerAnthony Liguori <[email protected]>
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 <[email protected]>
Message-id: 1360676045[email protected]
Signed-off-by: Anthony Liguori <[email protected]>
trace/simple.c
This page took 0.024146 seconds and 4 git commands to generate.