Changeset ba25cc2 in rtems for cpukit/score/src/threaddispatchdisablelevel.c
- Timestamp:
- 02/19/14 10:21:34 (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- a418b2f
- Parents:
- 7336be9d
- git-author:
- Sebastian Huber <sebastian.huber@…> (02/19/14 10:21:34)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (03/06/14 08:43:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/src/threaddispatchdisablelevel.c
r7336be9d rba25cc2 53 53 --giant->nest_level; 54 54 if ( giant->nest_level == 0 ) { 55 giant->owner_cpu = NO_OWNER_CPU; 56 _SMP_lock_Release( &giant->lock ); 57 } 58 } 59 60 void _Giant_Drop( uint32_t self_cpu ) 61 { 62 Giant_Control *giant = &_Giant; 63 64 _Assert( _ISR_Get_level() != 0 ); 65 66 if ( giant->owner_cpu == self_cpu ) { 67 giant->nest_level = 0; 55 68 giant->owner_cpu = NO_OWNER_CPU; 56 69 _SMP_lock_Release( &giant->lock );
Note: See TracChangeset
for help on using the changeset viewer.