mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
task: Check for PR_SET_NAME before using
Fixes: #653172. Signed-off-by: David Schleef <ds@schleef.org>
This commit is contained in:
parent
55468bf711
commit
156583a69c
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ gst_task_finalize (GObject * object)
|
||||||
static void
|
static void
|
||||||
gst_task_configure_name (GstTask * task)
|
gst_task_configure_name (GstTask * task)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_SYS_PRCTL_H
|
#if defined(HAVE_SYS_PRCTL_H) && defined(PR_SET_NAME)
|
||||||
const gchar *name;
|
const gchar *name;
|
||||||
gchar thread_name[17] = { 0, };
|
gchar thread_name[17] = { 0, };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue