f2997e4c00
Timeline of the race: 1. The PPU is in SLEEP state. state = suspend. 2. lv2_obj::awake is called on the traced thread and is now in ONPROC state, state = signal. 3. lv2_obj::awake is called by another thread externally with a priority higher than our traced thread and appends it to g_pending. state = suspend + signal. 4. lv2_obj::sleep/set_priority (higering priority) is called on any thread which is in ONPROC. Causing it to enter SLEEP or RUNNING state, while the traced thread is back in queue in ONPROC. state = suspend + signal. 5. The traced thread finally calls lv2_obj::awake on itself, g_pending decrements to 0 and we a have a rescheduling event, after XOR state = 0!!! (no signal) 6. In check_state: cpu_sleep_called is now true and remains this way. 7. Another thread with a higher prioty kicks in and appends the traced thread into g_pending. state = suspend. 8. The traced thread is at cpu_thread::cpu_wait(), and that's where it's gonna spend the rest of its life. |
||
---|---|---|
.ci | ||
.github | ||
3rdparty | ||
bin | ||
buildfiles | ||
darwin/util | ||
llvm@5521155be5 | ||
llvm_build | ||
rpcs3 | ||
Utilities | ||
.cirrus.yml | ||
.clang-format | ||
.editorconfig | ||
.gdbinit | ||
.gitignore | ||
.gitmodules | ||
azure-pipelines.yml | ||
BUILDING.md | ||
CMakeLists.txt | ||
git-clang-format | ||
LICENSE | ||
objdump.cpp | ||
pre-commit.readme | ||
README.md | ||
rpcs3.sln | ||
usertype.dat |
RPCS3
The world's first free and open-source PlayStation 3 emulator/debugger, written in C++ for Windows and Linux.
You can find some basic information on our website. Game info is being populated on the Wiki. For discussion about this emulator, PS3 emulation, and game compatibility reports, please visit our forums and our Discord server.
Support Lead Developers Nekotekina and kd-11 on Patreon
Contributing
If you want to help the project but do not code, the best way to help out is to test games and make bug reports. See:
If you want to contribute as a developer, please take a look at the following pages:
You should also contact any of the developers in the forums or in the Discord server to learn more about the current state of the emulator.
Building
See BUILDING.md for more information about how to setup an environment to build RPCS3.
Running
Check our friendly quickstart guide to make sure your computer meets the minimum system requirements to run RPCS3.
Don't forget to have your graphics driver up to date and to install the Visual C++ Redistributable Packages for Visual Studio 2019 if you are a Windows user.
License
Most files are licensed under the terms of GNU GPL-2.0-only License; see LICENSE file for details. Some files may be licensed differently; check appropriate file headers for details.