Open
Bug 1604870
Opened 5 years ago
Updated 2 years ago
Make it possible to check if we are on the background event target without holding a task queue
Categories
(Core :: XPCOM, task)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: KrisWright, Unassigned)
References
(Blocks 1 open bug)
Details
It would be nice to have some NS_IsBackgroundThread()
check for the background event target so that it won't be necessary to create a task queue for the sole purpose of checking IsOnCurrentThread()
on it. Since we already have BackgroundEventTarget::IsOnCurrentThread()
[1] it just needs to be exposed to the API.
Updated•2 years ago
|
Severity: normal normal → S3 S3
You need to log in
before you can comment on or make changes to this bug.
Description
•