summaryrefslogtreecommitdiff
path: root/kern/sref.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-02-08 21:58:38 +0100
committerRichard Braun <rbraun@sceen.net>2017-02-08 21:58:38 +0100
commite69a4c4c3ca62d816bb4542792bcc741a7360af2 (patch)
tree19516cdd779a8a759e26db3cbde4bc4103946dbc /kern/sref.c
parent05f3b97ee07e6af26613dfbfe57619a700aa349a (diff)
kern/thread: add wait channels
Diffstat (limited to 'kern/sref.c')
-rw-r--r--kern/sref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/sref.c b/kern/sref.c
index e1368c3..9bffbe9 100644
--- a/kern/sref.c
+++ b/kern/sref.c
@@ -803,7 +803,7 @@ sref_manage(void *arg)
cpu_intr_save(&flags);
while (!sref_cache_is_dirty(cache)) {
- thread_sleep(NULL);
+ thread_sleep(NULL, cache, "sref");
}
cpu_intr_restore(flags);