RCS file: /usr1/CVS/rtems/cpukit/score/src/coremutex.c,v
retrieving revision 1.31
diff -u -r1.31 coremutex.c
|
|
|
63 | 63 | the_mutex->holder = _Thread_Executing; |
64 | 64 | the_mutex->holder_id = _Thread_Executing->Object.id; |
65 | 65 | if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || |
66 | | _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) |
| 66 | _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) { |
67 | 67 | |
68 | 68 | #ifdef __RTEMS_STRICT_ORDER_MUTEX__ |
69 | 69 | _Chain_Prepend_unprotected( &_Thread_Executing->lock_mutex, |
… |
… |
|
72 | 72 | #endif |
73 | 73 | |
74 | 74 | _Thread_Executing->resource_count++; |
| 75 | } |
75 | 76 | } else { |
76 | 77 | the_mutex->nest_count = 0; |
77 | 78 | the_mutex->holder = NULL; |