Closed Bug 960715 Opened 11 years ago Closed 11 years ago

Remove a few vestigial thread-related things from XPConnect

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(2 files)

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: nobody → continuation
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)
Attachment #8361502 - Flags: review?(bobbyholley+bmo)
Attachment #8361501 - Flags: review?(bobbyholley+bmo) → review+
Attachment #8361502 - Flags: review?(bobbyholley+bmo) → review+
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?
Blocks: 961019
Good point, Ms2ger. I filed bug 961019.
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.

Attachment

General

Created:
Updated:
Size: