1
0
Fork 0
forked from suyu/suyu
suyu/src
Subv 8432749db7 Kernel/Threads: When putting a thread to wait, specify a function to execute when it is awoken.
This change makes for a clearer (less confusing) path of execution in the scheduler, now the code to execute when a thread awakes is closer to the code that puts the thread to sleep (WaitSynch1, WaitSynchN). It also allows us to implement the special wake up behavior of ReplyAndReceive without hacking up WaitObject::WakeupAllWaitingThreads.

If savestates are desired in the future, we can change this implementation to one similar to the CoreTiming event system, where we first register the callback functions at startup and assign their identifiers to the Thread callback variable instead of directly assigning a lambda to the wake up callback variable.
2017-09-28 11:53:32 -05:00
..
audio_core Audio: Use std::deque instead of std::vector for the audio buffer type (StereoBuffer16). 2017-09-25 18:31:37 -05:00
citra WebService: Verify username and token (#2930) 2017-09-18 21:18:26 -04:00
citra_qt citra-qt: fix some untranslated strings 2017-09-24 17:53:35 +03:00
common Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types. 2017-09-27 09:06:41 -05:00
core Kernel/Threads: When putting a thread to wait, specify a function to execute when it is awoken. 2017-09-28 11:53:32 -05:00
input_common motion_emu: fix initialization order 2017-08-22 11:43:44 +03:00
network Added missing parts in libnetwork (#2838) 2017-08-19 11:14:33 -06:00
tests memory: Add GetCurrentPageTable/SetCurrentPageTable 2017-09-24 22:42:42 +01:00
video_core Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types. 2017-09-27 09:06:41 -05:00
web_service WebService: Verify username and token (#2930) 2017-09-18 21:18:26 -04:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt web_service: Add CMake flag to enable. 2017-07-11 18:33:41 -04:00