-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[browser][MT] send cancel to abandoned threads with event loop during mono_exit #97441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[browser][MT] send cancel to abandoned threads with event loop during mono_exit #97441
Conversation
…idle in the browser event loop) preventing to be joined during mono_exit - new `-untilFailed` xunit parameter for WasmTestRunner - cleanup CancellationToken in WebWorkerTest
|
Tagging subscribers to 'arch-wasm': @lewing Issue Details
Solves #96628 (comment)
|
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
- register it also with correct ID on the webworker - don't load memory snapshot in worker - omit managed stack trace after runtime exited - fix WebWorkerTest
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-wasm |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
|
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
...ervices.JavaScript.UnitTests/System/Runtime/InteropServices/JavaScript/WebWorkerTest.Http.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Marek Fišera <[email protected]>
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |


MT improvements
cancelThreadswill exit allJSWebWorkerwhich are still runningmono_exitglobalThiswhen it's ready startedmono_threads_wasm_on_thread_attachedto better place and add parameterstesting
runtimepipeline-untilFailedxunit parameter forWasmTestRunner