From e69a4c4c3ca62d816bb4542792bcc741a7360af2 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Wed, 8 Feb 2017 21:58:38 +0100 Subject: kern/thread: add wait channels --- kern/sref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/sref.c') 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); -- cgit v1.2.3