]> git.proxmox.com Git - mirror_qemu.git/commit
Don't use g_thread_get_initialized.
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 7 Sep 2011 13:02:15 +0000 (15:02 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 9 Sep 2011 17:58:16 +0000 (12:58 -0500)
commitad8b818686623ea4ad300a7a144fcfb2bce77050
tree706b41ac40044cc93806860aaffc50ec43875291
parent36b586284e678da28df3af9fd0907d2b16f9311c
Don't use g_thread_get_initialized.

Initialize glib threads unconditionally in main() instead
of using g_thread_get_initialized in the 9p code.

Fixes a build failure on RHEL-5, which ships glib 2.12.
g_thread_get_initialized was added in 2.20.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/9pfs/virtio-9p-coth.c
vl.c