Fix typo list_insert -> list_push_back for thread.child_results
This commit is contained in:
@@ -264,8 +264,8 @@ thread_create (const char *name, int priority,
|
|||||||
intr_set_level (old_level);
|
intr_set_level (old_level);
|
||||||
|
|
||||||
/* No need to synchronise child_results since it is only ever accessed by one
|
/* No need to synchronise child_results since it is only ever accessed by one
|
||||||
thread. */
|
thread. By the nature of increasing TIDs, this list is ordered. */
|
||||||
list_insert (&parent_thread->child_results, &t->result->elem);
|
list_push_back (&parent_thread->child_results, &t->result->elem);
|
||||||
|
|
||||||
/* Add to run queue. */
|
/* Add to run queue. */
|
||||||
thread_unblock (t);
|
thread_unblock (t);
|
||||||
|
|||||||
Reference in New Issue
Block a user