Closed
Bug 493116
Opened 16 years ago
Closed 14 years ago
Rewrite: Upgrade content/ to new synchronization API
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 645263
People
(Reporter: cjones, Assigned: cjones)
References
Details
Attachments
(1 file, 3 obsolete files)
42.44 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•16 years ago
|
||
I'm going to punt on upgrading nsOggDecoder at roc's request. It's slightly non-trivial.
Assignee | ||
Comment 2•16 years ago
|
||
Same for nsWaveDecoder, which uses the same type of pattern.
Assignee | ||
Comment 3•16 years ago
|
||
Assignee | ||
Comment 5•16 years ago
|
||
Builds on my GNU/linux and Mac targets.
Attachment #377612 -
Attachment is obsolete: true
Assignee | ||
Updated•16 years ago
|
Attachment #377637 -
Flags: review?(roc)
Comment 6•16 years ago
|
||
From a quick look over the patch:
I believe the Mutexes should be direct members instead of pointers, thats also what the XPCOM Thread Sync guide does.
Assignee | ||
Comment 7•16 years ago
|
||
(In reply to comment #6)
> From a quick look over the patch:
> I believe the Mutexes should be direct members instead of pointers, thats also
> what the XPCOM Thread Sync guide does.
I wholly agree, but determining when this is safe to do is very non-trivial. I would rather leave this up to people who know the code (I don't).
Can we use member typedefs to avoid writing mozilla:: in classes?
Everywhere we initialize a monitor or lock in the constructor to "new ...", we should turn into a direct member instead of using a pointer. It should be easy to verify that those pointers are never reassigned, so this is safe.
Assignee | ||
Comment 9•16 years ago
|
||
Attachment #377637 -
Attachment is obsolete: true
Attachment #377705 -
Flags: review?(roc)
Attachment #377637 -
Flags: review?(roc)
Comment on attachment 377705 [details] [diff] [review]
Addressed roc's comments
thanks!
Attachment #377705 -
Flags: review?(roc) → review+
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•