Skip to content
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

[wasm] Fixes for issue #108519 #108543

Merged
merged 2 commits into from
Oct 8, 2024
Merged

[wasm] Fixes for issue #108519 #108543

merged 2 commits into from
Oct 8, 2024

Conversation

kg
Copy link
Member

@kg kg commented Oct 4, 2024

Contributes to #108519

@kg kg added the arch-wasm WebAssembly architecture label Oct 4, 2024
Copy link
Contributor

Tagging subscribers to this area: @BrzVlad, @kotlarmilos
See info in area-owners.md if you want to be subscribed.

@kg
Copy link
Member Author

kg commented Oct 5, 2024

cc @pavelsavara

@pavelsavara pavelsavara added the os-browser Browser variant of arch-wasm label Oct 5, 2024
@pavelsavara
Copy link
Member

this will need Net9 backport

@@ -1645,8 +1646,9 @@ get_queue (int queue) {
GPtrArray *result = NULL;
if ((result = (GPtrArray *)mono_native_tls_get_value (key)) == NULL) {
g_assert (mono_native_tls_set_value (key, result = g_ptr_array_new ()));
mono_os_mutex_lock (&queue_mutex);
// WARNING: Ensure we do not call into the runtime or JS while holding this mutex!
Copy link
Contributor

@dlemstra dlemstra Oct 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a tiny style comment. In the rest of the code this comment is after the mono_os_mutex_lock call.

p.s. For me this way is more clear...

@kg
Copy link
Member Author

kg commented Oct 8, 2024

/ba-g CI stuck

@kg kg merged commit 7cbd86c into dotnet:main Oct 8, 2024
36 of 38 checks passed
sirntar pushed a commit to sirntar/runtime that referenced this pull request Oct 8, 2024
@kg
Copy link
Member Author

kg commented Oct 8, 2024

/backport to release/9.0

Copy link
Contributor

github-actions bot commented Oct 8, 2024

Started backporting to release/9.0: https://github.com/dotnet/runtime/actions/runs/11231296080

Copy link
Contributor

github-actions bot commented Oct 8, 2024

@kg an error occurred while backporting to release/9.0, please check the run log for details!

Error: @kg is not a repo collaborator, backporting is not allowed. If you're a collaborator please make sure your dotnet team membership visibility is set to Public on https://github.com/orgs/dotnet/people?query=kg

@kg
Copy link
Member Author

kg commented Oct 8, 2024

/backport to release/9.0

Copy link
Contributor

github-actions bot commented Oct 8, 2024

Started backporting to release/9.0: https://github.com/dotnet/runtime/actions/runs/11231378598

@dlemstra
Copy link
Contributor

dlemstra commented Oct 9, 2024

Thanks for the quick fix!

@github-actions github-actions bot locked and limited conversation to collaborators Nov 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Codegen-Interpreter-mono os-browser Browser variant of arch-wasm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants