Compare commits

..

No commits in common. "f918966727b096fc764c637c688d0715a22b960d" and "a806e41af0360680f9a0dace6cd61f56a23553e3" have entirely different histories.

3 changed files with 3 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,7 +1,6 @@
builddbg/
test-bin/
__pycache__/
.ccls-cache/
compile_commands.json
sysroot/bin

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.2)
# Set because our cross compiler can't do dynamic linking?
set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY")

View File

@ -120,11 +120,9 @@ void Thread::Cleanup() {
// 2. Unblock waiting threads.
while (blocked_threads_.size() != 0) {
auto thread = blocked_threads_.PopFront();
if (!thread->IsDying()) {
thread->SetState(Thread::RUNNABLE);
gScheduler->Enqueue(thread);
}
}
// 3. Release Kernel Stack
KernelVmm::FreeKernelStack(rsp0_start_);