Browse Source
Kernel: Use different thread statuses when a thread calls WaitSynchronization1 and WaitSynchronizationN with wait_all = true.
Kernel: Use different thread statuses when a thread calls WaitSynchronization1 and WaitSynchronizationN with wait_all = true.
This commit removes the overly general THREADSTATUS_WAIT_SYNCH and replaces it with two more granular statuses: THREADSTATUS_WAIT_SYNCH_ANY when a thread waits on objects via WaitSynchronization1 or WaitSynchronizationN with wait_all = false. THREADSTATUS_WAIT_SYNCH_ALL when a thread waits on objects via WaitSynchronizationN with wait_all = true.nce_cpp
4 changed files with 26 additions and 19 deletions
-
9src/citra_qt/debugger/wait_tree.cpp
-
11src/core/hle/kernel/thread.cpp
-
7src/core/hle/kernel/thread.h
-
6src/core/hle/svc.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue