mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-11-27 18:11:21 +00:00
before the change, only support wasm app exit like:
```c
void *thread_routine(void *arg)
{
printf("Enter thread\n");
return NULL;
}
```
if call pthread_exit, it will crash:
```c
void *thread_routine(void *arg)
{
printf("Enter thread\n");
pthread_exit(NULL);
return NULL;
}
```
This commit lets both upstairs work correctly, test pass on stm32f103 mcu.
|
||
|---|---|---|
| .. | ||
| alios | ||
| android | ||
| common | ||
| cosmopolitan | ||
| darwin | ||
| ego | ||
| esp-idf | ||
| freebsd | ||
| include | ||
| linux | ||
| linux-sgx | ||
| nuttx | ||
| riot | ||
| rt-thread | ||
| vxworks | ||
| windows | ||
| zephyr | ||
| README.md | ||
This folder contains the platform abstract layer for multiple platforms. To support a new platform, you can simply create a new folder here and implement all the APIs defined in include folder.
Refer to port_wamr.md for how to port WAMR to a target platform.