wasm-micro-runtime/core/shared/platform/common/posix
Enrico Loparco 132378f30b
Allow using custom signal handler from non-main thread (#2551)
Remove thread local attribute of prev_sig_act_SIGSEGV/SIGBUS to allow using
custom signal handler from non-main thread since in a thread spawned by
embedder, embedder may be unable to call wasm_runtime_init_thread_env to
initialize them.

And fix the handling of prev_sig_act when its sa_handler is SIG_DFL, SIG_IGN,
or a user customized handler.
2023-09-15 18:55:16 +08:00
..
platform_api_posix.cmake re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00
posix_malloc.c Add bh_print_proc_mem() to dump memory info of current process (#1734) 2022-11-25 08:33:44 +08:00
posix_memmap.c Fix ‘MADV_HUGEPAGE’ undeclared compilation error (#1012) 2022-02-18 11:25:06 +08:00
posix_sleep.c Implement os_usleep for posix (#2517) 2023-09-01 12:10:54 +08:00
posix_socket.c Fix typo for IP address buffer (#2532) 2023-09-07 14:29:52 +08:00
posix_thread.c Allow using custom signal handler from non-main thread (#2551) 2023-09-15 18:55:16 +08:00
posix_time.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00