Open
Bug 1637518
Opened 5 years ago
Updated 3 years ago
[meta] Remove AbstractThread
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: jya, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: meta)
AbstractThread was introduced in order to determine a generic threading model that guarantees that events always run serially; and this was done before nsISerialEventTarget existed.
Today AbstractThread is mostly used to access the direct task dispatch semantic; which gives a similar (but not identical) mechanism to JS's microtasks.
DirectTasks (and maybe StateChange tasks) should be merged into nsISerialEventTarget.
Direct Tasks should be split from the current Tail Dispatching mechanism as that was only an implementation detail and while similar aren't actually dependent on one another (see Bobby description in bug https://bugzilla.mozilla.org/show_bug.cgi?id=1631304#c0)
Reporter | ||
Updated•4 years ago
|
Keywords: meta
Summary: Merge AbstractThread into nsISerialEventTarget and remove XPCOMThreadWrapper → [meta] Remove AbstractThread
You need to log in
before you can comment on or make changes to this bug.
Description
•