Compare commits
No commits in common. "f918966727b096fc764c637c688d0715a22b960d" and "a806e41af0360680f9a0dace6cd61f56a23553e3" have entirely different histories.
f918966727
...
a806e41af0
|
@ -1,7 +1,6 @@
|
|||
builddbg/
|
||||
test-bin/
|
||||
__pycache__/
|
||||
.ccls-cache/
|
||||
compile_commands.json
|
||||
|
||||
sysroot/bin
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -120,10 +120,8 @@ 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);
|
||||
}
|
||||
thread->SetState(Thread::RUNNABLE);
|
||||
gScheduler->Enqueue(thread);
|
||||
}
|
||||
|
||||
// 3. Release Kernel Stack
|
||||
|
|
Loading…
Reference in New Issue