Closed
Bug 965068
Opened 12 years ago
Closed 11 years ago
Rename JS "worker" threads to something else. Please. Please. Pretty please!
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: bent.mozilla, Assigned: bhackett1024)
Details
Attachments
(2 files)
|
81.29 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
|
11.68 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
We're getting lots of confusion over the fact that the JS engine names all their utility threads "workers" and the DOM has Web Workers. Can we please rename the JS threads to "utility" threads? "Helpers"? "Minions"? Anything would be wonderful.
Comment 1•12 years ago
|
||
Let's call them "esdiscuss threads", that probably won't confuse anyone
Comment 2•12 years ago
|
||
I asked on IRC.
<dom_workers> YES PLEASE i hate being confused with these losers
<ion_workers> i don't really care, whatever
<asmjs_workers> Oh! I see. That seems entirely reasonable.
<pjs_workers> Why should I change? He's the one that sucks.
Assignee: nobody → jorendorff
Comment 3•12 years ago
|
||
bhackett and I decided in another bug (I can't remember which one) to call them "helper" threads.
Comment 4•12 years ago
|
||
-> Helper Monkeys
Comment 5•12 years ago
|
||
(In reply to Nicholas Nethercote [:njn] from comment #3)
> bhackett and I decided in another bug (I can't remember which one) to call
> them "helper" threads.
This is what I'm doing. Except PJS threads will be called "fork-join threads".
Helper threads and fork-join threads share a workerId number space and I'm not totally sure what I'll call that yet; I'd pick "threadId" except NSPR has a concept of "thread id" and they're two different things.
Comment 6•12 years ago
|
||
(In reply to Jason Orendorff [:jorendorff] from comment #5)
> (In reply to Nicholas Nethercote [:njn] from comment #3)
> > bhackett and I decided in another bug (I can't remember which one) to call
> > them "helper" threads.
>
> This is what I'm doing. Except PJS threads will be called "fork-join
> threads".
>
> Helper threads and fork-join threads share a workerId number space and I'm
> not totally sure what I'll call that yet; I'd pick "threadId" except NSPR
> has a concept of "thread id" and they're two different things.
If you're doing these mass renamings, ThreadPool should probably be ForkJoinPool or something. I don't see how you can avoid overloading "threadId" though. It just seems context-sensitive and confusing no matter what.
| Assignee | ||
Updated•12 years ago
|
Assignee: jorendorff → bhackett1024
| Assignee | ||
Comment 7•12 years ago
|
||
Rename WorkerThread stuff to HelperThread stuff. After this lands I'll write patches to rename the jsworkers files themselves, and the PJS worker nomenclature.
Attachment #8431180 -
Flags: review?(jorendorff)
Updated•12 years ago
|
Attachment #8431180 -
Flags: review?(jorendorff) → review+
| Assignee | ||
Comment 8•12 years ago
|
||
Keywords: leave-open
| Assignee | ||
Comment 9•12 years ago
|
||
Rename jsworkers.* to vm/HelperThreads.*
Attachment #8431599 -
Flags: review?(jorendorff)
Comment 10•12 years ago
|
||
Updated•12 years ago
|
Attachment #8431599 -
Flags: review?(jorendorff) → review+
| Assignee | ||
Comment 11•12 years ago
|
||
Comment 12•12 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(bhackett1024)
Keywords: leave-open
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•