Browse Source
kernel/thread: Migrate WaitCurrentThread_Sleep into the Thread interface
kernel/thread: Migrate WaitCurrentThread_Sleep into the Thread interface
Rather than make a global accessor for this sort of thing. We can make it a part of the thread interface itself. This allows getting rid of a hidden global accessor in the kernel code.nce_cpp
4 changed files with 24 additions and 25 deletions
-
6src/core/hle/kernel/scheduler.cpp
-
22src/core/hle/kernel/svc.cpp
-
13src/core/hle/kernel/thread.cpp
-
8src/core/hle/kernel/thread.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue