Update priority_more comment description to specify which list_elem member it is compatible with
This commit is contained in:
@@ -358,8 +358,8 @@ thread_foreach (thread_action_func *func, void *aux)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Function that compares the two threads associated with the provided
|
/* Function that compares the two threads associated with the provided
|
||||||
list_elem structures. Returns true if the thread associated with a_ has
|
pointers to their 'elem' member. Returns true if the thread associated
|
||||||
a higher priority than that of b_. */
|
with a_ has a higher priority than that of b_. */
|
||||||
bool
|
bool
|
||||||
priority_more (const struct list_elem *a_, const struct list_elem *b_,
|
priority_more (const struct list_elem *a_, const struct list_elem *b_,
|
||||||
void *aux UNUSED)
|
void *aux UNUSED)
|
||||||
|
|||||||
Reference in New Issue
Block a user