wasm-micro-runtime/core/shared/platform/common/freertos
tkernelcn 286ea35508
fixed(freertos): Fix crash when wasm app call pthread_exit(NULL) (#2970)
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.
2024-01-02 17:32:09 +08:00
..
freertos_malloc.c Add bh_print_proc_mem() to dump memory info of current process (#1734) 2022-11-25 08:33:44 +08:00
freertos_thread.c fixed(freertos): Fix crash when wasm app call pthread_exit(NULL) (#2970) 2024-01-02 17:32:09 +08:00
freertos_time.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
platform_api_freertos.cmake Fix some compilation warnings and add esp-idf platform for experiment (#454) 2020-11-30 16:03:51 +08:00