mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	Merge pull request #2245 from lioncash/unused-def
kernel/thread: Actually remove the definition of ExitCurrentThread()
This commit is contained in:
		
						commit
						ed7a1e1443
					
				@ -68,12 +68,6 @@ void Thread::Stop() {
 | 
				
			|||||||
    owner_process->FreeTLSSlot(tls_address);
 | 
					    owner_process->FreeTLSSlot(tls_address);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void ExitCurrentThread() {
 | 
					 | 
				
			||||||
    Thread* thread = GetCurrentThread();
 | 
					 | 
				
			||||||
    thread->Stop();
 | 
					 | 
				
			||||||
    Core::System::GetInstance().CurrentScheduler().RemoveThread(thread);
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
void Thread::WakeAfterDelay(s64 nanoseconds) {
 | 
					void Thread::WakeAfterDelay(s64 nanoseconds) {
 | 
				
			||||||
    // Don't schedule a wakeup if the thread wants to wait forever
 | 
					    // Don't schedule a wakeup if the thread wants to wait forever
 | 
				
			||||||
    if (nanoseconds == -1)
 | 
					    if (nanoseconds == -1)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user