From f10514f4cc8b8aa810a25472ec1c74859a6bafdf Mon Sep 17 00:00:00 2001 From: Themis Demetriades Date: Tue, 22 Oct 2024 18:59:19 +0100 Subject: [PATCH] Update priority_more comment description to specify which list_elem member it is compatible with --- src/threads/thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/threads/thread.c b/src/threads/thread.c index f937aca..ff5686e 100644 --- a/src/threads/thread.c +++ b/src/threads/thread.c @@ -358,8 +358,8 @@ thread_foreach (thread_action_func *func, void *aux) } /* Function that compares the two threads associated with the provided - list_elem structures. Returns true if the thread associated with a_ has - a higher priority than that of b_. */ + pointers to their 'elem' member. Returns true if the thread associated + with a_ has a higher priority than that of b_. */ bool priority_more (const struct list_elem *a_, const struct list_elem *b_, void *aux UNUSED)