Closed
Bug 1507106
Opened 7 years ago
Closed 7 years ago
Add atomic.notify as an alias for atomic.wake
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
FIXED
mozilla65
| Tracking | Status | |
|---|---|---|
| firefox65 | --- | fixed |
People
(Reporter: lth, Assigned: lth)
References
Details
Attachments
(1 file)
|
4.83 KB,
patch
|
jseward
:
review+
|
Details | Diff | Splinter Review |
An extended bikeshedding session at the Wasm CG video call on Nov 13 decided, in the end, that we will rename atomic.wake as atomic.notify to track what JS is doing and because "wake" and "wait" sound too similar for comfort and tend to confuse listeners. (Also lots of languages use "notify"; "wake" is a futexism.)
For the time being, let's just add an alias and not worry overmuch about updating everything else.
| Assignee | ||
Comment 1•7 years ago
|
||
Attachment #9025002 -
Flags: review?(jseward)
Comment 2•7 years ago
|
||
Comment on attachment 9025002 [details] [diff] [review]
bug1507106-atomic-notify-for-wasm.patch
Review of attachment 9025002 [details] [diff] [review]:
-----------------------------------------------------------------
Sigh (re bikeshedding etc), although I do think notify is a better name.
Yes. Looks fine.
Attachment #9025002 -
Flags: review?(jseward) → review+
| Assignee | ||
Comment 3•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/26862c8c9db982119676a63482d9ae51e59e1534
Bug 1507106 - add atomic.notify as an alias for atomic.wake. r=jseward
Comment 4•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Comment 5•7 years ago
|
||
Not sure if this is an internals thing, or if it is exposed to web devs. Will investigate soon.
Keywords: dev-doc-needed
| Assignee | ||
Comment 6•7 years ago
|
||
Well... those few people who manipulate textual webassembly (essentially compiler writers) will be exposed to this, but it's not a JS API, it's the name of the instruction when you write wasm text. And the browser has no means of translating wasm text to wasm binary. So technically it's not a web API.
Comment 7•6 years ago
|
||
OK, that makes sense; I still ought to mention it in (and generally update) the guide to WebAssembly text format on MDN, so I'll keep the dev-doc-needed keyword, but I won't include a note in the Fx65 rel notes.
Updated•5 years ago
|
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•