Closed
Bug 1420798
Opened 7 years ago
Closed 7 years ago
Apply the ProofOfLock pattern to MediaCache
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(1 file)
MediaCache::Foo() { mReentrantMonitor.AssertCurrentThreadIn(); } MediaCache::Bar() { ReentrantMonitorAutoEnter mon(mReentrantMonitor); Foo(); } can be replaced by MediaCache::Foo(ReentrantMonitorAutoEnter& aLock) { } MediaCache::Bar() { ReentrantMonitorAutoEnter mon(mReentrantMonitor); Foo(mon); } This allows us to replace ReentrantMonitor with Monitor in the future.
Assignee | ||
Updated•7 years ago
|
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8932295 -
Flags: review?(bechen)
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8932295 [details] Bug 1420798 - apply the 'ProofOfLock' pattern to MediaCache. https://reviewboard.mozilla.org/r/203326/#review208708
Attachment #8932295 -
Flags: review?(bechen) → review+
Assignee | ||
Updated•7 years ago
|
Attachment #8932295 -
Flags: review?(gsquelart)
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8932295 [details] Bug 1420798 - apply the 'ProofOfLock' pattern to MediaCache. https://reviewboard.mozilla.org/r/203326/#review208738
Attachment #8932295 -
Flags: review?(gsquelart) → review+
Assignee | ||
Comment 4•7 years ago
|
||
Thanks for the reviews!
Pushed by jwwang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bafd5fe6a059 apply the 'ProofOfLock' pattern to MediaCache. r=bechen,gerald
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bafd5fe6a059
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in
before you can comment on or make changes to this bug.
Description
•