[gstreamer-bugs] [Bug 623491] New: make *_get_type() thread safe

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Jul 3 13:53:21 PDT 2010


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

           Summary: make *_get_type() thread safe
    Classification: Desktop
           Product: GStreamer
           Version: unspecified
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: zeng.shixin at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=165193)
 View: https://bugzilla.gnome.org/attachment.cgi?id=165193
 Review: https://bugzilla.gnome.org/review?bug=623491&attachment=165193

patch to make _get_type() thread safe

Some of these functions already take advantage of g_once_init_enter/leave() for
thread safety, however, there are some left.

I'm attaching a patch to fix this.

-- 
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