summaryrefslogtreecommitdiff
path: root/kern/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread.h')
-rw-r--r--kern/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kern/thread.h b/kern/thread.h
index 7252f410..a5abefcc 100644
--- a/kern/thread.h
+++ b/kern/thread.h
@@ -387,6 +387,7 @@ extern void thread_unfreeze(
#define thread_pcb(th) ((th)->pcb)
+/* Shall be taken at splsched only */
#define thread_lock(th) simple_lock(&(th)->lock)
#define thread_unlock(th) simple_unlock(&(th)->lock)