base: use blockade in thread

Issue #3612
This commit is contained in:
Alexander Boettcher
2020-01-24 14:22:05 +01:00
committed by Christian Helmuth
parent e686ff78e9
commit 5440cd4b50
12 changed files with 15 additions and 16 deletions

View File

@ -80,7 +80,7 @@ void Thread::_thread_start()
thread->entry();
/* unblock caller of 'join()' */
thread->_join_lock.unlock();
thread->_join.wakeup();
sleep_forever();
}