wasm-micro-runtime/core/iwasm/libraries/lib-pthread
YAMAMOTO Takashi 6c846acc59
Implement module instance context APIs (#2436)
Introduce module instance context APIs which can set one or more contexts created
by the embedder for a wasm module instance:
```C
    wasm_runtime_create_context_key
    wasm_runtime_destroy_context_key
    wasm_runtime_set_context
    wasm_runtime_set_context_spread
    wasm_runtime_get_context
```

And make libc-wasi use it and set wasi context as the first context bound to the wasm
module instance.

Also add samples.

Refer to https://github.com/bytecodealliance/wasm-micro-runtime/issues/2460.
2023-09-07 14:54:11 +08:00
..
lib_pthread_wrapper.c Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
lib_pthread.cmake Implement POSIX semaphore support for linux platform (#1345) 2022-08-08 19:59:46 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00