3.4.6. Nbor list use

Nbor lists are used for these purposes, in logical order

  1. In list_t%check_ready() the nbor list is used to find out if a task is ready to be updated, by comparing the states of tasks with the function task_t%is_ahead_of().

  2. When the task becomes active the nbor list is used by task%link%upadte to load guard zones (or pick up other information it depends on)

  3. After the task has updated, list_t%check_nbors() uses the nbor list to determine which nbor tasks to run list_t%check_ready() on.