Update priority_more comment description to specify which list_elem member it is compatible with

This commit is contained in:
Themis Demetriades
2024-10-22 18:59:19 +01:00
parent dae5b0d097
commit f10514f4cc

View File

@@ -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)