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

_sys_lwcond_signal: Make mode 3 respect ordering of the sleep queue #7836

Merged
merged 3 commits into from Mar 23, 2020

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Mar 23, 2020

In realhw this mode uses the lwmutex only to emplace the thread into the lwmutex sleep queue and then unlock immediatly the lwmutex, it means the ordering of the current lwmutex sleep queue needs to be respected.
Also followup for #7663 in sys_lwcond and sys_cond reagrding ppu threads existence checks.

@elad335 elad335 changed the title _sys_lwcond_signal: Make mode 3 functionality the same as 1 [WIP] _sys_lwcond_signal: Make mode 3 functionality the same as 1 Mar 23, 2020
@elad335 elad335 changed the title [WIP] _sys_lwcond_signal: Make mode 3 functionality the same as 1 _sys_lwcond_signal: Make mode 3 respect ordering of the sleep queue Mar 23, 2020
@elad335
Copy link
Contributor Author

elad335 commented Mar 23, 2020

Nvm, I was wrong about it.

@Nekotekina Nekotekina merged commit 52360b3 into RPCS3:master Mar 23, 2020
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

2 participants