-
Notifications
You must be signed in to change notification settings - Fork 749
Add wasm_module_obtain() to clone another from one wasm_module_t #1660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add wasm_module_obtain() to clone another from one wasm_module_t #1660
Conversation
6cdcadb to
0ed85ef
Compare
0ed85ef to
2613c9e
Compare
|
i guess it's better to introduce wasm_shared_module_t for compatibility. how do you think? |
|
Slightly hesitate about the purpose of |
|
i'm talking about wasm_shared_module_t specifically, which seems to be used by other implementations. it even appears in an example in wasm-c-api repo: |
2613c9e to
3df1b51
Compare
90fa558 to
867f80b
Compare
wenyongh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
b6c56ce to
3c60416
Compare
also support wasm_shared_module_t
3c60416 to
f66dce7
Compare
Also add support for wasm_shared_module_t, and add lock for wasm_module_t related operations. And add wasm-c-api sample threads, update sample clone.
Also add support for wasm_shared_module_t, and add lock for wasm_module_t related operations. And add wasm-c-api sample threads, update sample clone.
Also add support for wasm_shared_module_t, and add lock for wasm_module_t related operations. And add wasm-c-api sample threads, update sample clone.
It depends on #1656