Changeset b7f6260 in rtems
- Timestamp:
- Oct 2, 2003, 12:41:04 PM (17 years ago)
- Children:
- fdcb86b5
- Parents:
- 328acbe8
- Location:
- cpukit/score
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/ChangeLog
r328acbe8 rb7f6260 1 2003-10-02 Phil Torre <ptorre@zetron.com> 2 3 PR 504/rtems 4 * include/rtems/score/coremutex.h: Add fatal error check for a task 5 blocking on a mutex when thread dispatching is disabled. 6 1 7 2003-09-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 8 -
cpukit/score/include/rtems/score/coremutex.h
r328acbe8 rb7f6260 27 27 #include <rtems/score/priority.h> 28 28 #include <rtems/score/watchdog.h> 29 #include <rtems/score/interr.h> 30 #include <rtems/score/sysstate.h> 29 31 30 32 /* … … 153 155 */ 154 156 157 155 158 #ifndef __RTEMS_APPLICATION__ 156 159 RTEMS_INLINE_ROUTINE int _CORE_mutex_Seize_interrupt_trylock( … … 167 170 _the_mutex, _id, _wait, _timeout, _level ) \ 168 171 do { \ 172 if ( _Thread_Dispatch_disable_level \ 173 && (_wait) \ 174 && (_System_state_Get() >= SYSTEM_STATE_BEGIN_MULTITASKING ) \ 175 ) { \ 176 _Internal_error_Occurred( \ 177 INTERNAL_ERROR_CORE, \ 178 FALSE, \ 179 18 /* called from wrong environment */); \ 180 } \ 169 181 if ( _CORE_mutex_Seize_interrupt_trylock( _the_mutex, &_level ) ) { \ 170 182 if ( !_wait ) { \
Note: See TracChangeset
for help on using the changeset viewer.