Changeset a3dd225b in rtems for cpukit/score/src/threaddispatchdisablelevel.c
- Timestamp:
- 03/18/14 10:56:42 (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 72f4b98b
- Parents:
- ff25926
- git-author:
- Sebastian Huber <sebastian.huber@…> (03/18/14 10:56:42)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (03/19/14 07:34:27)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/src/threaddispatchdisablelevel.c
rff25926 ra3dd225b 143 143 144 144 #if defined( RTEMS_DEBUG ) 145 void _Assert_Owner_of_giant( void )145 bool _Debug_Is_owner_of_giant( void ) 146 146 { 147 147 Giant_Control *giant = &_Giant; 148 148 149 _Assert( 150 giant->owner_cpu == _SMP_Get_current_processor() 151 || !_System_state_Is_up( _System_state_Get() ) 152 ); 149 return giant->owner_cpu == _SMP_Get_current_processor() 150 || !_System_state_Is_up( _System_state_Get() ); 153 151 } 154 152 #endif
Note: See TracChangeset
for help on using the changeset viewer.