Changeset ac2bb464 in rtems


Ignore:
Timestamp:
May 31, 2013, 11:56:56 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
1dcf5fe
Parents:
e071c183
git-author:
Sebastian Huber <sebastian.huber@…> (05/31/13 11:56:56)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/31/13 13:20:30)
Message:

smptests: Use priority ceiling for locked print

In case the printf() blocks on a semaphore it was possible to end up in
a livelock.

Location:
testsuites
Files:
2 edited

Legend:

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

    re071c183 rac2bb464  
    7979    status = rtems_task_create(
    8080      rtems_build_name( 'T', 'A', ch[0], ch[1] ),
    81       1,
     81      2,
    8282      RTEMS_MINIMUM_STACK_SIZE,
    8383      RTEMS_DEFAULT_MODES,
  • testsuites/support/src/locked_print.c

    re071c183 rac2bb464  
    3737    1,                                             
    3838    RTEMS_LOCAL                   |
    39     RTEMS_SIMPLE_BINARY_SEMAPHORE |
     39    RTEMS_BINARY_SEMAPHORE |
     40    RTEMS_PRIORITY_CEILING |
    4041    RTEMS_PRIORITY,
    4142    1,
Note: See TracChangeset for help on using the changeset viewer.