Closed Bug 1989632 Opened 8 months ago Closed 1 month ago

Make ConcurrentConnection properly thread-safe

Categories

(Toolkit :: Places, defect, P2)

defect

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: mak, Assigned: mak)

References

(Blocks 5 open bugs)

Details

(Whiteboard: [sng])

Attachments

(1 file)

ConcurrentConnection may be created off the main-thread, even just to register a pending request... While it uses thread-safe refcounting, it was not designed to be used like that, and thus some properties and initialization expect to be on the main-thread. Those should properly be dispatched.

Attachment #9570708 - Attachment description: WIP: Bug 1989632 - Make ConcurrentConnection properly thread-safe → Bug 1989632 - Make ConcurrentConnection properly thread-safe. r=Standard8
Blocks: 1975929
Blocks: 1979140
Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3fa096bd62ae https://hg.mozilla.org/integration/autoland/rev/bdb74d66642f Revert "Bug 1989632 - Make ConcurrentConnection properly thread-safe. r=Standard8,places-reviewers" for causing bustages in test_ConcurrentConnection.cpp

Of course, the only test that didn't run on Try

Flags: needinfo?(mak)
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
Blocks: 2039205
Blocks: 2011382
Blocks: 2040122
QA Whiteboard: [qa-triage-done-c153/b152]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: