Skip to content

Conversation

@lum1n0us
Copy link
Contributor

It depends on #1656

@lum1n0us lum1n0us force-pushed the add_wasm_module_obtain branch from 6cdcadb to 0ed85ef Compare October 31, 2022 04:38
@lum1n0us lum1n0us force-pushed the add_wasm_module_obtain branch from 0ed85ef to 2613c9e Compare November 3, 2022 08:47
@yamt
Copy link
Contributor

yamt commented Nov 7, 2022

i guess it's better to introduce wasm_shared_module_t for compatibility. how do you think?

@lum1n0us
Copy link
Contributor Author

lum1n0us commented Nov 7, 2022

Slightly hesitate about the purpose of wasm_shared_xxx_t. wasm_shared_xxx_t should represent a core concept in Wasm spec. Therefore didn't plan to support wasm_shared_module_t until figure out.

@yamt
Copy link
Contributor

yamt commented Nov 7, 2022

i'm talking about wasm_shared_module_t specifically, which seems to be used by other implementations.
not wasm_shared_xxx_t in general.

it even appears in an example in wasm-c-api repo:
https://github.com/WebAssembly/wasm-c-api/blob/b6dd1fb658a282c64b029867845bc50ae59e1497/example/threads.c#L25
and mentioned in the doc:
https://github.com/WebAssembly/wasm-c-api/blob/main/README.md#interfaces

@lum1n0us lum1n0us force-pushed the add_wasm_module_obtain branch from 2613c9e to 3df1b51 Compare November 8, 2022 04:00
@lum1n0us lum1n0us force-pushed the add_wasm_module_obtain branch 3 times, most recently from 90fa558 to 867f80b Compare November 8, 2022 06:15
Copy link
Collaborator

@wenyongh wenyongh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lum1n0us lum1n0us force-pushed the add_wasm_module_obtain branch 2 times, most recently from b6c56ce to 3c60416 Compare November 9, 2022 03:27
@lum1n0us lum1n0us force-pushed the add_wasm_module_obtain branch from 3c60416 to f66dce7 Compare November 9, 2022 03:41
@wenyongh wenyongh merged commit 30ee992 into bytecodealliance:main Nov 9, 2022
@lum1n0us lum1n0us deleted the add_wasm_module_obtain branch November 10, 2022 05:26
NingW101 pushed a commit to NingW101/wasm-micro-runtime that referenced this pull request Dec 1, 2022
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.
wenyongh pushed a commit that referenced this pull request Dec 6, 2022
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.
vickiegpt pushed a commit to vickiegpt/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants