summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/wait_tree.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Kernel: Move WaitObject to a separate fileYuri Kunde Schlesner2017-05-301-0/+1
| | | | | Now that HandleTable doesn't directly depend on WaitObject anymore, this can be separated from the main kernel.h header.
* Kernel: Use different thread statuses when a thread calls WaitSynchronization1 and WaitSynchronizationN with wait_all = true.Subv2017-01-041-3/+6
| | | | | | | | 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.
* core: Consolidate core and system state, remove system module & cleanups.bunnei2016-12-221-1/+1
|
* Merge pull request #2260 from Subv/schedulingbunnei2016-12-161-1/+2
|\ | | | | Threading: Reworked the way our scheduler works.
| * Fixed the codestyle to match our clang-format rules.Subv2016-12-141-1/+2
| |
| * WaitSynch: Removed unused variables and reduced SharedPtr copies.Subv2016-12-091-1/+1
| | | | | | | | | | | | Define a variable with the value of the sync timeout error code. Use a boost::flat_map instead of an unordered_map to hold the equivalence of objects and wait indices in a WaitSynchN call.
| * Threading: Added some utility functions and const correctness.Subv2016-12-041-1/+1
| |
| * Threading: Reworked the way our scheduler works.Subv2016-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | Threads will now be awakened when the objects they're waiting on are signaled, instead of repeating the WaitSynchronization call every now and then. The scheduler is now called once after every SVC call, and once after a thread is awakened from sleep by its timeout callback. This new implementation is based off reverse-engineering of the real kernel. See https://gist.github.com/Subv/02f29bd9f1e5deb7aceea1e8f019c8f4 for a more detailed description of how the real kernel handles rescheduling.
* | Fixed the rebase mistakes.Subv2016-12-011-1/+0
|/
* implement wait tree widgetwwylele2016-09-221-0/+417