After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 165922 - add locking in opt
add locking in opt
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal enhancement
: 0.8.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-02-01 12:11 UTC by Wim Taymans
Modified: 2005-02-04 11:56 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
proposed patch (16.29 KB, patch)
2005-02-01 12:12 UTC, Wim Taymans
none Details | Review
updated patch using recursive locks (17.33 KB, patch)
2005-02-01 16:16 UTC, Wim Taymans
none Details | Review

Description Wim Taymans 2005-02-01 12:11:31 UTC
add locking to protect the scheduler data structures. This fixes random
behaviour and crashes.
Comment 1 Wim Taymans 2005-02-01 12:12:26 UTC
Created attachment 36816 [details] [review]
proposed patch

first patch, will also install handlers for error cases.
Comment 2 Wim Taymans 2005-02-01 16:16:06 UTC
Created attachment 36823 [details] [review]
updated patch using recursive locks

the old patch could create deadlocks when unlinking pads since the pad unlink
function unrefs the element which in turn unlinks the pads in its dispose
function.
Comment 3 Ronald Bultje 2005-02-04 11:56:03 UTC
patch was applied.