[gstreamer-bugs] [Bug 611911] Set thread names on pipeline threads

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Apr 25 11:41:07 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=611911
  GStreamer | gstreamer (core) | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.29

--- Comment #10 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-04-25 18:41:00 UTC ---
(In reply to comment #9)
> Could you use "if (prctl (PR_SET_NAME, (unsigned long int) thread_name,0,0,0))"
> instead of "if (prctl (PR_SET_NAME, (unsigned long int) thread_name))" ?
> bionic/libc doesn't accept prctl without 5 arguments.

This was taken care of:

commit c78c637a771fef7236bd559a42d18d8b5fc370da
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Mon Mar 15 17:07:59 2010 +0100

    task: use bionic/libc friendly arguments to prctl

    prctl is supposed to take 5 arguments. It used to work with 2 arguments on
some
    versions of libc because it is defined as a varags function there.

    See #611911

Closing this bug, since we've implemented this now. Lots more can be done, but
I don't think we need to keep this bug open for that, and it's probably more
productive to file new bugs for specific requests (like showign the thread-name
in GST_DEBUG output etc.).

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Gstreamer-bugs mailing list