mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-11 14:21:20 +00:00
gst: log performance warning debug message if glib emulates atomic ops
This commit is contained in:
parent
a30e637406
commit
985bc911a2
1 changed files with 5 additions and 0 deletions
|
@ -591,6 +591,11 @@ init_pre (GOptionContext * context, GOptionGroup * group, gpointer data,
|
||||||
}
|
}
|
||||||
#endif
|
#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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue