WasmEdge icon indicating copy to clipboard operation
WasmEdge copied to clipboard

Generate a shared memory in env

Open LFsWang opened this issue 2 years ago • 2 comments
trafficstars

Motivation

The wasm file with wasi-threads will import a shared memory from env. In current implement, Wasmedge need to add this manually in c api (ref). It is meaning we can not run an wasi-threads example directly.

Details

From wasi threads document, the WASI host must first allocate shared memories to satisfy the module's imports.

Appendix

LFsWang avatar Apr 19 '23 06:04 LFsWang

any update?

en-rai avatar May 16 '24 11:05 en-rai

Hi @en-rai Since the wasi-thread is not compatible with WASI preview 2 and the component model, we decided to freeze this proposal unless there is a new version of it.

hydai avatar Jun 04 '24 19:06 hydai

@hydai Does this means we should close the issue for now?

dannypsnl avatar Sep 02 '24 02:09 dannypsnl

Yes. I think so.

hydai avatar Sep 02 '24 05:09 hydai