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 2ca548bbe5
commit 5728e42634
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
*/