Corrected call to _CORE_mutex_Seize_interrupt_blocking.

This commit is contained in:
Joel Sherrill
2000-07-06 20:01:23 +00:00
parent 8ce962c095
commit e6faa6ac76
2 changed files with 10 additions and 4 deletions

View File

@@ -161,7 +161,6 @@ RTEMS_INLINE_ROUTINE int _CORE_mutex_Seize_interrupt_trylock(
void _CORE_mutex_Seize_interrupt_blocking(
CORE_mutex_Control *the_mutex,
boolean wait,
Watchdog_Interval timeout
);
@@ -179,7 +178,7 @@ void _CORE_mutex_Seize_interrupt_blocking(
_Thread_Executing->Wait.id = _id; \
_Thread_Disable_dispatch(); \
_ISR_Enable( _level ); \
_CORE_mutex_Seize_interrupt_blocking( _the_mutex, _id, _timeout ); \
_CORE_mutex_Seize_interrupt_blocking( _the_mutex, _timeout ); \
} \
} \
} while (0)
@@ -215,6 +214,10 @@ void _CORE_mutex_Flush(
unsigned32 status
);
#ifndef __RTEMS_APPLICATION__
#include <rtems/score/coremutex.inl>
#endif
#ifdef __cplusplus
}
#endif