kernel: Remove Thread::next_state

This commit is contained in:
Pawel Dziepak
2013-11-29 19:31:10 +01:00
parent c19f1e4fbb
commit 2b7ea4cddf
9 changed files with 23 additions and 32 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ thread_is_interrupted(Thread* thread, uint32 flags)
static inline bool
thread_is_blocked(Thread* thread)
{
return thread->wait.status == 1;
return atomic_get(&thread->wait.status) == 1;
}