Skip to content

WASI randomness should not require a mutex #5660

@abrown

Description

@abrown

In #5484, in order to handle mutability in the WasiCtx table, the source of randomness in wasi-common was wrapped in a Mutex. This solves the compiler errors related to mutable access of the the field, but there is surely some refactoring that avoids locking altogether.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wasm-proposal:threadsIssues related to the WebAssembly threads proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions