Skip to content
Commit a062bc2f authored by Nikolay Volf's avatar Nikolay Volf Committed by GitHub
Browse files

Runtime worker threads (#7089)



* std variant

* principal work

* format and naming

* format and naming continued

* working nested fork

* add comment

* naming and tabs

* line width

* fix wording

* address review

* refactor dynamic dispatch

* update wasmtime

* some care

* move ext

* more refactor

* doc effort

* simplify

* doc effort

* tests and docs

* address review

* naming

* explain some args

* add example

* unwinding for native and tests

* rename stray

* fix refs

* fix tests

* fix warnings

* stray naming

* fixes and comments

* Update primitives/io/src/tasks.rs

Co-authored-by: default avatarcheme <[email protected]>

* make examples "compile"

* dyn_dispatch -> spawn_call

* fix impl

* address review

* Update primitives/io/src/lib.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* Update primitives/io/src/tasks.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* Update primitives/io/src/async_externalities.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* Update primitives/io/src/tasks.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* Update frame/example-parallel/src/lib.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* fix compilation

* Update client/executor/common/src/wasm_runtime.rs

Co-authored-by: default avatarSergei Shulepov <[email protected]>

* address review

* Update client/executor/wasmtime/src/instance_wrapper.rs

Co-authored-by: default avatarSergei Shulepov <[email protected]>

* Update client/executor/src/native_executor.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/io/src/tasks.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update client/executor/src/native_executor.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update primitives/io/src/tasks.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update client/executor/wasmtime/src/instance_wrapper.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* address some issues

* address more issues

* wasm_only interface

* define sp_tasks

* avoid anyhow

* fix example

Co-authored-by: default avatarcheme <[email protected]>
Co-authored-by: default avatarKian Paimani <[email protected]>
Co-authored-by: default avatarSergei Shulepov <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
parent 203acda6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment