forked from Imagelibrary/rtems
2002-07-19 Joel Sherrill <joel@OARcorp.com>
* include/rtems/score/apimutex.h (_API_Mutex_Lock): Added missing _ISR_Disable.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-07-19 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* include/rtems/score/apimutex.h (_API_Mutex_Lock): Added missing
|
||||
_ISR_Disable.
|
||||
|
||||
2002-07-16 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* macros/rtems/score/object.inl: Corrected typos in
|
||||
|
||||
@@ -105,6 +105,7 @@ SCORE_EXTERN Objects_Information _API_Mutex_Information;
|
||||
#define _API_Mutex_Lock( _the_mutex ) \
|
||||
do { \
|
||||
ISR_Level _level; \
|
||||
_ISR_Disable( _level ); \
|
||||
_CORE_mutex_Seize( \
|
||||
&(_the_mutex)->Mutex, (_the_mutex)->Object.id, TRUE, 0, (_level) ); \
|
||||
} while (0)
|
||||
|
||||
Reference in New Issue
Block a user