summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-06-01 14:31:54 +0200
committerRichard Braun <rbraun@sceen.net>2013-06-01 14:31:54 +0200
commita919943d8070ca15ba93a06258e90297d9f51e1e (patch)
treea1e06b67b9d198754e00c6d57361929dd285f3d8
parent8b9ebb99dd053241b9fe1c32a48e24ff9f266c8c (diff)
kern/thread: short comment about thread locking
-rw-r--r--kern/thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/thread.h b/kern/thread.h
index 232bbb02..9d557455 100644
--- a/kern/thread.h
+++ b/kern/thread.h
@@ -132,7 +132,8 @@ struct thread_ts_data {
/*
* Thread structure.
*
- * TODO Document access synchronization.
+ * Thread members are normally protected by the lock of the run queue they're
+ * associated with. Thread-local members are accessed without synchronization.
*/
struct thread {
struct tcb tcb;