Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ The current WASI Developer Preview releases are:
emoji throughout the repo).
* 0.3.1: adds the `map<K,V>` type (🗺️) and the `implements` and `external-id`
annotations (🏷️).
* 0.3.3: adds cooperative threads (🧵).

Subsequent WASI Developer Preview releases will include other emoji-[gated
features] such as cooperative threads (🧵).
features].

## Contributing

Expand Down
10 changes: 5 additions & 5 deletions design/mvp/Concurrency.md
Original file line number Diff line number Diff line change
Expand Up @@ -1452,11 +1452,11 @@ created for a task and default *cleared* for the explicit threads created by
alive until it returns the `EXIT` code (`0`).

As an example, in JavaScript, the Service Worker API's [`waitUntil`] method
would delay returning the `EXIT` code. In 0.3.0, without cooperative threads
(🧵), [`setInterval`] would also unfortunately delay
returning the `EXIT` code and thus, without guest code intervention, would keep
component instances alive until timeout limits were hit. The release of
cooperative threads would offer a solution to this problem, but an awkward one.
would delay returning the `EXIT` code. Before 0.3.3, without cooperative threads
(🧵), [`setInterval`] would also unfortunately delay returning the `EXIT` code
and thus, without guest code intervention, would keep component instances alive
until timeout limits were hit. The release of cooperative threads in 0.3.3
offers a solution to this problem, but an awkward one.
Instead, the [intention](#TODO) is to add new built-in functions that would
provide guest code more direct, dynamic control over its own keep-alive
flags, thereby allowing the JS event loop to clear its keep-alive flag once all
Expand Down
4 changes: 2 additions & 2 deletions design/mvp/Text.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and thus are not open to breaking changes before the final 1.0 release:
* 🔀: native concurrency support with `async`, `stream` and `future`
* 🗺️: the `map` type
* 🏷️: `implements` and `external-id` annotations for imports/exports
* 🧵: cooperative threading built-ins

All other features are in various stages of implementation, are not enabled by
default, may have breaking changes, and, after a suitable [WASI] SG vote, may be
Expand All @@ -27,8 +28,7 @@ shipped as part of a future WASI Developer Preview release:
* 🪺: nested namespaces and packages in import/export names
* 🚝: enabling more canonical ABI options on more async-related builtins
* 🚟: using `async` with `canon lift` without `callback` (stackful lift)
* 🧵: threading built-ins
* 🧵②: [shared-everything-threads]-based threading built-ins
* 🧵②: [shared-everything-threads]-based threading built-ins
* 🔧: fixed-length lists
* 📝: the `error-context` type
* 🔗: canonical interface names
Expand Down
Loading