Changeset 8b5a801 in rtems for testsuites


Ignore:
Timestamp:
04/27/18 05:20:27 (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
3ef7e744
Parents:
3d703f4
git-author:
Sebastian Huber <sebastian.huber@…> (04/27/18 05:20:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/27/18 05:22:38)
Message:

smptests/smpschededf02: Add test case

File:
1 edited

Legend:

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

    r3d703f4 r8b5a801  
    11/*
    2  * Copyright (c) 2016, 2017 embedded brains GmbH.  All rights reserved.
     2 * Copyright (c) 2016, 2018 embedded brains GmbH.  All rights reserved.
    33 *
    44 *  embedded brains GmbH
     
    118118  BLOCK(        1,              0, IDLE),
    119119  UNBLOCK(      1,              0,    1),
    120   RESET,
    121120  /*
    122121   * Show that FIFO order is honoured across all threads of the same priority.
    123122   */
     123  RESET,
    124124  SET_PRIORITY( 1,  P(0),    IDLE, IDLE),
    125125  SET_PRIORITY( 2,  P(1),    IDLE, IDLE),
     
    136136  BLOCK(        2,              3,    0),
    137137  BLOCK(        3,              4,    0),
    138   RESET,
    139138  /*
    140139   * Schedule a high priority affine thread directly with a low priority affine
     
    142141   * affine ready queue in _Scheduler_EDF_SMP_Allocate_processor().
    143142   */
     143  RESET,
    144144  UNBLOCK(      0,              0, IDLE),
    145145  UNBLOCK(      1,              0,    1),
     
    152152  BLOCK(        1,              0,    2),
    153153  BLOCK(        2,              0,    3),
     154  /* Force migration of a higher priority one-to-all thread */
     155  RESET,
     156  UNBLOCK(      0,              0, IDLE),
     157  SET_AFFINITY( 1,  A(1, 0),    0, IDLE),
     158  UNBLOCK(      1,              1,    0),
    154159  RESET
    155160};
Note: See TracChangeset for help on using the changeset viewer.