Ignore:
Timestamp:
Jun 30, 2008, 3:03:03 PM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
281e95f
Parents:
b4f58efe
Message:

Rename STRICT_ORDER_MUTEX to RTEMS_STRICT_ORDER_MUTEX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/coremutexsurrender.c

    rb4f58efe r66a9239a  
    5555  Thread_Control *the_thread;
    5656  Thread_Control *holder;
    57 #ifdef __STRICT_ORDER_MUTEX__
     57#ifdef __RTEMS_STRICT_ORDER_MUTEX__
    5858  Chain_Node *first_node;
    5959#endif
     
    9999  if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ||
    100100       _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ){
    101 #ifdef __STRICT_ORDER_MUTEX__
     101#ifdef __RTEMS_STRICT_ORDER_MUTEX__
    102102    /*Check whether the holder release the mutex in LIFO order
    103103      if not return error code*/
     
    120120  if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ||
    121121       _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
    122 #ifdef __STRICT_ORDER_MUTEX__
     122#ifdef __RTEMS_STRICT_ORDER_MUTEX__
    123123    if(the_mutex->queue.priority_before != holder->current_priority)
    124124      _Thread_Change_priority(holder,the_mutex->queue.priority_before,TRUE);
     
    158158          break;
    159159        case CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT:
    160 #ifdef __STRICT_ORDER_MUTEX__
     160#ifdef __RTEMS_STRICT_ORDER_MUTEX__
    161161          _Chain_Prepend_unprotected(&the_thread->lock_mutex,&the_mutex->queue.lock_queue);
    162162          the_mutex->queue.priority_before = the_thread->current_priority;
     
    165165          break;
    166166        case CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING:
    167 #ifdef __STRICT_ORDER_MUTEX__
     167#ifdef __RTEMS_STRICT_ORDER_MUTEX__
    168168          _Chain_Prepend_unprotected(&the_thread->lock_mutex,&the_mutex->queue.lock_queue);
    169169          the_mutex->queue.priority_before = the_thread->current_priority;
Note: See TracChangeset for help on using the changeset viewer.