Closed
Bug 1940588
Opened 1 month ago
Closed 24 days ago
MboxMsgOutputStream isn't threadsafe
Categories
(MailNews Core :: General, defect)
MailNews Core
General
Tracking
(Not tracked)
RESOLVED
FIXED
136 Branch
People
(Reporter: benc, Assigned: benc)
References
Details
Attachments
(2 files)
Following on from Bug 1931863.
MboxMsgOutputStream
is a blocking stream and so could be potentially be called from other threads (eg the STS thread, when adapting the stream for async writing).
So all the public methods need to be threadsafe.
The note in the nsIOutputStream IDL only talks about protecting the refcount, but I think it all needs to be threadsafe.
https://searchfox.org/comm-central/source/mozilla/xpcom/io/nsIOutputStream.idl#48
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Updated•26 days ago
|
Keywords: checkin-needed-tb
Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/e1ed22af0b3c
Make MboxMsgOutputStream threadsafe. r=mkmelin
Assignee | ||
Comment 3•24 days ago
|
||
Comment 4•24 days ago
|
||
reopen to land the comment tweak
Pushed by arschmitz@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/e8a6d75aee0b
Comment tweak on MboxMsgOutputStream locking. r=kaie
Status: REOPENED → RESOLVED
Closed: 25 days ago → 24 days ago
Keywords: checkin-needed-tb
Resolution: --- → FIXED
Updated•5 days ago
|
Target Milestone: --- → 136 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•