yuzu-fork/src/core/hle/kernel
Subv 8634b8cb83 Threading: Reworked the way our scheduler works.
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.
2016-12-03 22:38:14 -05:00
..
address_arbiter.cpp Threading: Reworked the way our scheduler works. 2016-12-03 22:38:14 -05:00
address_arbiter.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
client_port.cpp Use negative priorities to avoid special-casing the self-include 2016-09-21 00:15:56 -07:00
client_port.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
event.cpp Kernel/Events: Log an error when trying to create Pulse events and timers. 2016-11-19 14:00:08 -05:00
event.h move ResetType to kernel.h 2016-09-22 13:52:52 +08:00
kernel.cpp Threading: Reworked the way our scheduler works. 2016-12-03 22:38:14 -05:00
kernel.h Threading: Reworked the way our scheduler works. 2016-12-03 22:38:14 -05:00
memory.cpp Fix typos 2016-10-20 12:26:59 -02:00
memory.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
mutex.cpp Use negative priorities to avoid special-casing the self-include 2016-09-21 00:15:56 -07:00
mutex.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
process.cpp Use negative priorities to avoid special-casing the self-include 2016-09-21 00:15:56 -07:00
process.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
resource_limit.cpp Use negative priorities to avoid special-casing the self-include 2016-09-21 00:15:56 -07:00
resource_limit.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
semaphore.cpp Use negative priorities to avoid special-casing the self-include 2016-09-21 00:15:56 -07:00
semaphore.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
server_port.cpp Use negative priorities to avoid special-casing the self-include 2016-09-21 00:15:56 -07:00
server_port.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
session.cpp Manually tweak source formatting and then re-run clang-format 2016-09-18 21:14:25 -07:00
session.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
shared_memory.cpp Use negative priorities to avoid special-casing the self-include 2016-09-21 00:15:56 -07:00
shared_memory.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
thread.cpp Threading: Reworked the way our scheduler works. 2016-12-03 22:38:14 -05:00
thread.h Threading: Reworked the way our scheduler works. 2016-12-03 22:38:14 -05:00
timer.cpp Threading: Reworked the way our scheduler works. 2016-12-03 22:38:14 -05:00
timer.h move ResetType to kernel.h 2016-09-22 13:52:52 +08:00
vm_manager.cpp Use negative priorities to avoid special-casing the self-include 2016-09-21 00:15:56 -07:00
vm_manager.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00