summaryrefslogtreecommitdiff
path: root/kern/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread.h')
-rw-r--r--kern/thread.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/kern/thread.h b/kern/thread.h
index 5b5729ce..fd729b3d 100644
--- a/kern/thread.h
+++ b/kern/thread.h
@@ -737,8 +737,7 @@ unsigned int thread_state(const struct thread *thread);
/*
* Return true if the given thread is running.
*
- * Note that this check is speculative, and may not return an accurate
- * result. It may only be used for optimistic optimizations.
+ * This call isn't synchronized, and the caller may obtain an outdated value.
*/
bool thread_is_running(const struct thread *thread);