diff options
author | Richard Braun <rbraun@sceen.net> | 2017-02-08 21:58:38 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-02-08 21:58:38 +0100 |
commit | e69a4c4c3ca62d816bb4542792bcc741a7360af2 (patch) | |
tree | 19516cdd779a8a759e26db3cbde4bc4103946dbc /kern/sref.c | |
parent | 05f3b97ee07e6af26613dfbfe57619a700aa349a (diff) |
kern/thread: add wait channels
Diffstat (limited to 'kern/sref.c')
-rw-r--r-- | kern/sref.c | 2 |
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); |