History | View | Annotate | Download (2.2 kB)
Don't use g_thread_get_initialized.
Initialize glib threads unconditionally in main() insteadof 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>...
[virtio-9p] Add infrastructure to support glib threads and coroutines.
This patch is originally made by Arun Bharadwaj for glib support.Later Harsh Prateek Bora added coroutines support.This version implemented with suggestions fromStefan Hajnoczi <stefanha@linux.vnet.ibm.com>....