Closed
Bug 960715
Opened 11 years ago
Closed 11 years ago
Remove a few vestigial thread-related things from XPConnect
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(2 files)
2.00 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
761 bytes,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
There are two thread-related nsXPConnect methods that look like they can be removed:
- ClassIsMainThreadOnly (bholley thinks the call can be removed)
- FindMainThread isn't defined or used
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → continuation
Assignee | ||
Comment 1•11 years ago
|
||
Okay, I think with these two last patches the multithreaded stuff in XPConnect
should be gone.
https://tbpl.mozilla.org/?tree=Try&rev=12f97666cc97
Attachment #8361501 -
Flags: review?(bobbyholley+bmo)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8361502 -
Flags: review?(bobbyholley+bmo)
Updated•11 years ago
|
Attachment #8361501 -
Flags: review?(bobbyholley+bmo) → review+
Updated•11 years ago
|
Attachment #8361502 -
Flags: review?(bobbyholley+bmo) → review+
Comment 3•11 years ago
|
||
Comment on attachment 8361501 [details] [diff] [review]
part 1 - Remove XPCWrappedNativeProto::ClassIsMainThreadOnly.
Review of attachment 8361501 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/xpconnect/src/xpcprivate.h
@@ -1849,5 @@
> #endif
> #define GET_IT(f_) const {return !!(mClassInfoFlags & nsIClassInfo:: f_ );}
>
> bool ClassIsSingleton() GET_IT(SINGLETON)
> - bool ClassIsMainThreadOnly() GET_IT(MAIN_THREAD_ONLY)
Time to remove nsIClassInfo::MAIN_THREAD_ONLY?
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Comment 5•11 years ago
|
||
Good point, Ms2ger. I filed bug 961019.
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0ed69fa19314
https://hg.mozilla.org/mozilla-central/rev/2be8ad58c32e
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in
before you can comment on or make changes to this bug.
Description
•