Closed Bug 1426019 Opened 7 years ago Closed 6 years ago

Use nsIThread in nsHostResolver

Categories

(Core :: Networking: DNS, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox59 --- wontfix
firefox60 --- wontfix
firefox61 --- wontfix
firefox62 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

We currently create a thread using PR_CreateThread(..., PR_UNJOINABLE_THREAD) According to bug 1415093 comment 3 a shutdown race between this thread and XPCOM shutdown could trigger some assertions. It would be better if we could replace it with NS_NewNamedThread.
Attachment #8985968 - Flags: review?(daniel) → review+
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Assignee: nobody → valentin.gosu
Depends on: 1470907
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: