From: Tim-Philipp Müller Date: Fri, 24 Aug 2012 22:14:57 +0000 (+0100) Subject: gst: log performance warning debug message if glib emulates atomic ops X-Git-Tag: RELEASE-0.11.94~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=985bc911a2ffb844e2d89014758d9d7458a5f7a5;p=platform%2Fupstream%2Fgstreamer.git gst: log performance warning debug message if glib emulates atomic ops --- diff --git a/gst/gst.c b/gst/gst.c index b19bac0..793afaa 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -591,6 +591,11 @@ init_pre (GOptionContext * context, GOptionGroup * group, gpointer data, } #endif +#ifndef G_ATOMIC_LOCK_FREE + GST_CAT_WARNING (GST_CAT_PERFORMANCE, "GLib atomic operations are NOT " + "implemented using real hardware atomic operations!"); +#endif + return TRUE; }