Skip to content

Thread model for Embedding WAMR in a host #2355

Answered by lum1n0us
schorg asked this question in Q&A
Discussion options

You must be logged in to vote

It is a pretty simple thread model for embedding hosts. It requires a host to create and maintain a thread pool and create an instance for every worker in the pool. Only need to load .wasm once.

If tends to follow the "wasm-c-api" model, it is better to only use APIs in wasm-c-api.h

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@schorg
Comment options

Answer selected by schorg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants