Closed Bug 1172479 Opened 10 years ago Closed 10 years ago

Replace |nsIThread| by |MessageLoop| in socket I/O code

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox41 fixed)

RESOLVED FIXED
Tracking Status
firefox41 --- fixed

People

(Reporter: tzimmermann, Assigned: tzimmermann)

References

Details

Attachments

(1 file)

While working on bug 1171994, I found that it's not possible to easily use an |nsIThread| of a worker in the socket I/O code. Dispatching socket events to a worker requires extra setup on the worker and consequently fails at [1]. Fortunately, we don't need nsIThread in the socket I/O code. We can simply use |MessageLoop| for passing messages to a consumer thread. [1] https://dxr.mozilla.org/mozilla-central/source/dom/workers/WorkerThread.cpp#230
Assignee: nobody → tzimmermann
Status: NEW → ASSIGNED
Blocks: 1171994
Blocks: 1146822
Attachment #8616644 - Flags: review?(kyle) → review+
Blocks: 1171017
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: