Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When using WASM_WORKERS: make sure sbrk ptr is aligned properly for t…
…ls space, and malloc needs to be thread safe (emscripten-core#18157) * emscripten_wasm_worker_main_thread_initialize: make sure sbrk ptr is aligned properly when account for tls space * dlmalloc.c: define USE_LOCKS when __EMSCRIPTEN_WASM_WORKERS__ is true, so that memory allocation is thread safe * emscripten_wasm_worker_main_thread_initialize: make sure sbrk ptr is aligned properly when account for tls space * emscripten_wasm_worker_main_thread_initialize: make sure sbrk ptr is aligned properly when account for tls space Co-authored-by: kme <none>
- Loading branch information