Open Bug 1239806 Opened 4 years ago Updated 2 years ago

change ThreadLocal to template-based implementation

Categories

(Core :: MFBT, defect)

defect
Not set

Tracking

()

REOPENED

People

(Reporter: tromey, Unassigned)

References

Details

After bug 757969, ThreadLocal uses ifdefs everywhere to handle
platform differences and the use of __thread.

Instead, as pointed out in https://bugzilla.mozilla.org/show_bug.cgi?id=757969#c17,
it would be nice to replace this with template specializations
for each case.
This is obsoleted by the work being done in bug 1348419.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1348419
Reopening because bug 1348419 changed course, and so there is still the ThreadLocal wrapper.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
You need to log in before you can comment on or make changes to this bug.