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

New atomic feature #9213

Merged
merged 4 commits into from Nov 6, 2020
Merged

New atomic feature #9213

merged 4 commits into from Nov 6, 2020

Conversation

Nekotekina
Copy link
Member

@Nekotekina Nekotekina commented Nov 6, 2020

Basically, raw_notify got the ability to wake up specific thread or wake up all threads. It's not fast (but I tried and it still took less than 1 ms), so it's mostly for emulation stopping in future. Also fixed a bug with internal structures.

@Nekotekina
Copy link
Member Author

I don't expect any regression with this, so

@Nekotekina
Copy link
Member Author

LOL haha Almost merged.

Add native_alert() and try_native_alert()
Now it searches all semaphores if data arg is nullptr.
Also it tries to wake up all threads if thread_id is 0.
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.

None yet

1 participant