emscripten-core / emscripten-core/emscripten

Calling `exit` from a pthread can result in racy behaviour/leaks

Open
#26,502 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

For example the new `test_emscripten_lock_busyspin_waitinf` test is currently flaky under asan/lsan due to the race conditions in the shutdown.

See https://github.com/emscripten-core/emscripten/pull/26448#issuecomment-4070883936 for more details.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.