Closed
Bug 1783299
Opened 2 years ago
Closed 2 years ago
Support threadsafe strings in StaticPrefs
Categories
(Core :: Preferences: Backend, enhancement, P3)
Core
Preferences: Backend
Tracking
()
RESOLVED
FIXED
105 Branch
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
Details
Attachments
(1 file)
Graphics makes use of string prefs that should be kept up to date and we want to be able to access those off the main thread because of DOM workers.
Assignee | ||
Comment 1•2 years ago
|
||
Prior to this patch, one would need to manually instantiate a copy of a
string from a preference on the main thread in order to access it in a
threadsafe manner on another thread.
This patch adds support for a DataMutexString
threadsafe type for
mirror: always type StaticPrefs, and works similarly to the existing
atomic types.
Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c71190090952 Add support for threadsafe mirrored StaticPref strings. r=KrisWright
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox105:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•