Correct compiling errors and addapt to the new interface.

This commit is contained in:
Fernando Sahmkow 2019-03-29 17:12:02 -04:00 committed by FernandoS27
parent 9031502974
commit b8b7ebcece
3 changed files with 15 additions and 27 deletions

View file

@ -213,10 +213,7 @@ void Process::PrepareForTermination() {
}
};
stop_threads(system.Scheduler(0).GetThreadList());
stop_threads(system.Scheduler(1).GetThreadList());
stop_threads(system.Scheduler(2).GetThreadList());
stop_threads(system.Scheduler(3).GetThreadList());
stop_threads(system.GlobalScheduler().GetThreadList());
FreeTLSRegion(tls_region_address);
tls_region_address = 0;