Changeset 81631de in rtems


Ignore:
Timestamp:
Aug 4, 2020, 10:27:54 AM (7 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
1b421585
Parents:
9566538
git-author:
Sebastian Huber <sebastian.huber@…> (08/04/20 10:27:54)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/04/20 13:48:32)
Message:

smpschededf02: Document reset() function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/smpschededf02/init.c

    r9566538 r81631de  
    217217}
    218218
     219/*
     220 * The goal of the reset() function is to bring back a defined initial system
     221 * state for each test case.  All tasks of the test shall be suspended.  The
     222 * idle threads shall be ordered in the scheduled chain according to the CPU
     223 * index.
     224 */
    219225static void reset(test_context *ctx)
    220226{
     
    237243  }
    238244
    239   /* Order the idle threads explicitly */
     245  /*
     246   * Order the idle threads explicitly.  Test cases may move the idle threads
     247   * around.  We have to ensure that the idle threads are ordered according to
     248   * the CPU index, otherwise the processor allocations cannot be specified for
     249   * a test case.  The idle threads of a scheduler have all the same priority,
     250   * so we have to take the FIFO ordering within a priority group into account.
     251   */
    240252  for (i = 0; i < CPU_COUNT; ++i) {
    241253    const Per_CPU_Control *c;
Note: See TracChangeset for help on using the changeset viewer.