Skip to content

Multithreading support #14

Closed
Closed
@Spxg

Description

@Spxg

Now if you use sqlite in a child thread, it will panic because extern_ref is not shared in the thread. See rustwasm/wasm-bindgen#955.

The current solution is to use fragile to determine whether it is a child thread. If it is a child thread, the data will be sended to the main thread for execution (via channel maybe).

More design is needed at present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions