Skip to content

Set termination flags in debug mode#2048

Merged
wenyongh merged 1 commit intobytecodealliance:mainfrom
eloparco:eloparco/debugger-suspend-flags
Mar 23, 2023
Merged

Set termination flags in debug mode#2048
wenyongh merged 1 commit intobytecodealliance:mainfrom
eloparco:eloparco/debugger-suspend-flags

Conversation

@eloparco
Copy link
Copy Markdown
Contributor

When using multiple threads, terminations flags are checked to stop the thread if a proc_exit or trap occurs. They have to be set also in debug mode.

Tested using WASI thread tests.

@wenyongh wenyongh merged commit bfbe51e into bytecodealliance:main Mar 23, 2023
vickiegpt pushed a commit to vickiegpt/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
…alliance#2048)

When using multiple threads, termination flags are checked to stop the thread
if a `proc_exit` or trap occurs. They have to be set also in debug mode.

Tested using [WASI thread tests](https://github.com/bytecodealliance/wasm-micro-runtime/tree/main/core/iwasm/libraries/lib-wasi-threads/test).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants