mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-24 19:54:22 -04:00
ProcessManager: Fill out ProcessTracking::Initialize()
This commit is contained in:
parent
5025ba5e82
commit
7ab9f507cb
6 changed files with 185 additions and 2 deletions
|
@ -83,10 +83,18 @@ void __appExit(void) {
|
|||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
Thread process_track_thread = {0};
|
||||
consoleDebugInit(debugDevice_SVC);
|
||||
|
||||
/* Initialize and spawn the Process Tracking thread. */
|
||||
ProcessTracking::Initialize();
|
||||
if (R_FAILED(threadCreate(&process_track_thread, &ProcessTracking::MainLoop, NULL, 0x4000, 0x15, 0))) {
|
||||
/* TODO: Panic. */
|
||||
}
|
||||
if (R_FAILED(threadStart(&process_track_thread))) {
|
||||
/* TODO: Panic. */
|
||||
}
|
||||
|
||||
|
||||
/* TODO: What's a good timeout value to use here? */
|
||||
WaitableManager *server_manager = new WaitableManager(U64_MAX);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue