Changeset 41616f6 in rtems


Ignore:
Timestamp:
Dec 3, 1998, 11:01:22 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
cd155be
Parents:
6afa6e3
Message:

Changed to account for ownership only being tracked when a priority
blocking protocol is used.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/psxtests/psx05/init.c

    r6afa6e3 r41616f6  
    270270  assert( !status );
    271271
     272  /*
     273   *  Set the protocol to priority ceiling so the owner check happens
     274   *  and the EPERM test (later) will work.
     275   */
     276
     277  status = pthread_mutexattr_setprotocol( &attr, PTHREAD_PRIO_INHERIT );
     278  assert( !status );
     279 
    272280  puts( "Init: pthread_mutex_init - SUCCESSFUL" );
    273281  status = pthread_mutex_init( &Mutex_id, &attr );
  • testsuites/psxtests/psx05/init.c

    r6afa6e3 r41616f6  
    270270  assert( !status );
    271271
     272  /*
     273   *  Set the protocol to priority ceiling so the owner check happens
     274   *  and the EPERM test (later) will work.
     275   */
     276
     277  status = pthread_mutexattr_setprotocol( &attr, PTHREAD_PRIO_INHERIT );
     278  assert( !status );
     279 
    272280  puts( "Init: pthread_mutex_init - SUCCESSFUL" );
    273281  status = pthread_mutex_init( &Mutex_id, &attr );
Note: See TracChangeset for help on using the changeset viewer.