Open Bug 1365096 Opened 7 years ago Updated 2 years ago

[meta] Convert uses of NS_Get{Current,Main}Thread to Get{Current,Main}ThreadEventTarget

Categories

(Core :: XPCOM, enhancement)

enhancement

Tracking

()

People

(Reporter: billm, Unassigned)

References

Details

(Keywords: meta)

This is a meta bug to cover the conversion:

1. of NS_GetCurrentThread or NS_GetMainThread to GetCurrentThreadEventTarget or GetMainThreadEventTarget.
2. of thread equality checks to event target IsOnCurrentThread checks.

This will make things easier for the Quantum DOM project, since it will hide the fact that there can be multiple "main" threads that share a single main event loop.
Summary: [meta] Convert uses of NS_Get{Current,Main}Thread to GetCurrentThreadEventTarget → [meta] Convert uses of NS_Get{Current,Main}Thread to Get{Current,Main}ThreadEventTarget
I filed sub-bugs for the major pieces. There are also a number of uses in miscellaneous area (toolkit, storage, ipc) but not too many. I'll probably do one cleanup bug once the major ones are resolved.
Keywords: meta
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.