Changeset bc95f816 in rtems


Ignore:
Timestamp:
Nov 12, 2014, 2:42:48 PM (5 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, master
Children:
1960dcb9
Parents:
163519a0
git-author:
Jennifer Averett <jennifer.averett@…> (11/12/14 14:42:48)
git-committer:
Jennifer Averett <jennifer.averett@…> (11/20/14 19:47:03)
Message:

smpschedaffinity02: Change semaphore attributes.

Change semaphore attributes to prevent semaphore from being
locked and never released upon a context switch.

File:
1 edited

Legend:

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

    r163519a0 rbc95f816  
    116116      task_data.actual_cpu = rtems_get_current_processor();
    117117      task_data.ran = true;
     118      test_delay(25);
    118119      rtems_semaphore_release(task_sem);
    119120    }
     
    141142    rtems_build_name('S', 'E', 'M', '0'),
    142143    1,
    143     RTEMS_LOCAL                   |
    144     RTEMS_SIMPLE_BINARY_SEMAPHORE |
    145     RTEMS_NO_INHERIT_PRIORITY     |
    146     RTEMS_NO_PRIORITY_CEILING     |
    147     RTEMS_FIFO,
     144    RTEMS_BINARY_SEMAPHORE |
     145    RTEMS_PRIORITY |
     146    RTEMS_PRIORITY_CEILING,
    148147    0,
    149148    &task_sem
Note: See TracChangeset for help on using the changeset viewer.