Changeset 761956d in rtems-libbsd


Ignore:
Timestamp:
Oct 24, 2013, 2:39:51 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
0b1be9f
Parents:
e859231
git-author:
Sebastian Huber <sebastian.huber@…> (10/24/13 14:39:51)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/31/13 12:18:51)
Message:

MUTEX(9): Use priority inheritance protocol

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/rtems/rtems-bsd-mutex.c

    re859231 r761956d  
    136136  struct lock_class *class;
    137137  int i;
    138         rtems_status_code sc = RTEMS_SUCCESSFUL;
    139         rtems_id id = RTEMS_ID_NONE;
    140         /* rtems_attribute attr = RTEMS_LOCAL | RTEMS_PRIORITY | RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY_CEILING; */
    141   rtems_attribute attr = RTEMS_LOCAL | RTEMS_PRIORITY | RTEMS_BINARY_SEMAPHORE;
     138  rtems_status_code sc = RTEMS_SUCCESSFUL;
     139  rtems_id id = RTEMS_ID_NONE;
     140  rtems_attribute attr = RTEMS_LOCAL | RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | RTEMS_INHERIT_PRIORITY;
    142141
    143142  if ((opts & MTX_RECURSE) != 0 )
Note: See TracChangeset for help on using the changeset viewer.