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

Wasix multithreading fix #3598

Merged
merged 2 commits into from
Feb 27, 2023
Merged

Wasix multithreading fix #3598

merged 2 commits into from
Feb 27, 2023

Conversation

john-sharratt
Copy link
Contributor

There was a thread corruption issue causes when real threads spawned a thread
multiple times. This occurred because the thread context was being reused
from previously exited threads.

Also there was a bug in the futex_wait callback where it was not correctly
returning the woken event

Base automatically changed from wasix to master February 23, 2023 19:57
john-sharratt and others added 2 commits February 27, 2023 09:02
There was a thread corruption issue causes when real threads spawned a thread
multiple times. This occured because the thread context was being reused
from previously exited threads.

Also there was a bug in the futex_wait callback where it was not correctly
returning the woken event
@theduke theduke force-pushed the wasix-threading-fix branch from 56ec64e to 927a924 Compare February 27, 2023 08:03
Copy link
Contributor

@theduke theduke left a comment

Choose a reason for hiding this comment

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

Good call.

I thought something fishy was going on there when reading over the code when doing some other refactoring recently.

@theduke theduke enabled auto-merge (rebase) February 27, 2023 08:11
@theduke theduke merged commit 87a4961 into master Feb 27, 2023
@theduke theduke deleted the wasix-threading-fix branch February 27, 2023 08:32
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