Browse Source
kernel/svc: Implement svcGetThreadList
kernel/svc: Implement svcGetThreadList
Similarly like svcGetProcessList, this retrieves the list of threads from the current process. In the kernel itself, a process instance maintains a list of threads, which are used within this function. Threads are registered to a process' thread list at thread initialization, and unregistered from the list upon thread destruction (if said thread has a non-null owning process). We assert on the debug event case, as we currently don't implement kernel debug objects.nce_cpp
4 changed files with 70 additions and 1 deletions
-
8src/core/hle/kernel/process.cpp
-
17src/core/hle/kernel/process.h
-
42src/core/hle/kernel/svc.cpp
-
4src/core/hle/kernel/thread.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue