Skip to content

Commit 55f0985

Browse files
abrownlukewagner
authored andcommitted
Fix up thread.spawn_ref variables
1 parent 4a41afd commit 55f0985

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

design/mvp/CanonicalABI.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3783,7 +3783,7 @@ async def canon_error_context_drop(task, i):
37833783

37843784
For a canonical definition:
37853785
```wat
3786-
(canon thread.spawn_ref (type $ft) (core func $spawn_ref))
3786+
(canon thread.spawn_ref $ft (core func $spawn_ref))
37873787
```
37883788
validation specifies:
37893789
* `$ft` must refer to a `shared` function type; initially, only the type
@@ -3799,13 +3799,13 @@ validation specifies:
37993799
> The inclusion of `$ft` ensures backwards compatibility for when arbitrary
38003800
> parameters are allowed.
38013801
3802-
Calling `$st` checks that the reference `$f` is not null. Then, it spawns a
3803-
thread which:
3802+
Calling `$spawn_ref` checks that the reference `$f` is not null. Then, it spawns
3803+
a thread which:
38043804
- invokes `$f` with `$c`
38053805
- executes `$f` until completion or trap in a `shared` context as described by
38063806
the [shared-everything threads] proposal.
38073807

3808-
In pseudocode, `$st` looks like:
3808+
In pseudocode, `$spawn_ref` looks like:
38093809

38103810
```python
38113811
def canon_thread_spawn_ref(f, c):

0 commit comments

Comments
 (0)