Thread: remove the thread from the thread list when exiting

This commit is contained in:
wwylele
2016-12-17 13:08:38 +02:00
parent c06f442ba8
commit 32f85927c7
3 changed files with 15 additions and 3 deletions

View File

@@ -252,6 +252,11 @@ void WaitCurrentThread_WaitSynchronization(std::vector<SharedPtr<WaitObject>> wa
*/
void WaitCurrentThread_ArbitrateAddress(VAddr wait_address);
/**
* Stops the current thread and removes it from the thread_list
*/
void ExitCurrentThread();
/**
* Initialize threading
*/