Skip to content

Quesitons about wasi_thread_spawn semantics #13

@yamt

Description

@yamt

the description of wasi_thread_spawn says:

instantiate the module again — this child instance will be used for the new thread

it isn't obvious to me which module "the module" here is when multiple modules are involved.
for example, if module A calls a function imported from module B and the function calls wasi_thread_spawn, which module is it?

also, does instantiate the module again imply that an engine needs to keep an equivalent of wasm-c-api wasm_extern_vec_t or "import object" (i mean importObject argument of WebAssembly.instantiate) for possible wasi_thread_spawn operations?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions