xemu/trace
Alon Levy 42ed372753 g_thread_init users: don't call it if glib >= 2.31
since commit f9b29ca03 included in release 2.31 (docs below say 2.32 but
that is not correct) and onwards g_thread_init is deprecated and calling
it is not required:

 http://developer.gnome.org/glib/unstable/glib-Deprecated-Thread-APIs.html#g-thread-init

 g_thread_init has been deprecated since version 2.32 and should not be
 used in newly-written code. This function is no longer necessary. The
 GLib threading system is automatically initialized at the start of your
 program.

Fixes bulid failure when warnings are treated as errors on fedora 17.

I only tested the change to vl.c, and copy pasted to the two other
locations (couldn't decide if a wrapper for calling g_thread_init is
uglier).

Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2011-12-20 15:44:31 -06:00
..
control.c trace: add "-trace events" argument to control initial state 2011-09-01 10:34:54 +01:00
control.h trace: add "-trace events" argument to control initial state 2011-09-01 10:34:54 +01:00
default.c trace: add "-trace events" argument to control initial state 2011-09-01 10:34:54 +01:00
simple.c g_thread_init users: don't call it if glib >= 2.31 2011-12-20 15:44:31 -06:00
simple.h trace: separate trace event control and query routines from the simple backend 2011-09-01 10:34:54 +01:00
stderr.c trace: Add wildcard trace event support 2011-11-01 14:12:15 +00:00
stderr.h trace: [stderr] add support for dynamically enabling/disabling events 2011-09-01 10:34:54 +01:00