File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3783,7 +3783,7 @@ async def canon_error_context_drop(task, i):
3783
3783
3784
3784
For a canonical definition:
3785
3785
``` wat
3786
- (canon thread.spawn_ref (type $ft) (core func $spawn_ref))
3786
+ (canon thread.spawn_ref $ft (core func $spawn_ref))
3787
3787
```
3788
3788
validation specifies:
3789
3789
* ` $ft ` must refer to a ` shared ` function type; initially, only the type
@@ -3799,13 +3799,13 @@ validation specifies:
3799
3799
> The inclusion of ` $ft ` ensures backwards compatibility for when arbitrary
3800
3800
> parameters are allowed.
3801
3801
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:
3804
3804
- invokes ` $f ` with ` $c `
3805
3805
- executes ` $f ` until completion or trap in a ` shared ` context as described by
3806
3806
the [ shared-everything threads] proposal.
3807
3807
3808
- In pseudocode, ` $st ` looks like:
3808
+ In pseudocode, ` $spawn_ref ` looks like:
3809
3809
3810
3810
``` python
3811
3811
def canon_thread_spawn_ref (f , c ):
You can’t perform that action at this time.
0 commit comments