Changeset e3f6d35 in rtems
- Timestamp:
- 01/02/20 22:45:30 (4 years ago)
- Branches:
- 4.10
- Parents:
- e816b4e
- git-author:
- Gedare Bloom <gedare@…> (01/02/20 22:45:30)
- git-committer:
- Gedare Bloom <gedare@…> (01/03/20 16:10:09)
- Location:
- cpukit/score/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/src/threadqextractpriority.c
re816b4e re3f6d35 110 110 111 111 mutex = _Thread_Dequeue_priority_node( &the_thread->Priority_node ); 112 _Thread_Evaluate_priority( mutex->holder ); 112 if ( mutex != NULL ) { 113 _Thread_Evaluate_priority( mutex->holder ); 114 } 113 115 114 116 if ( !_Watchdog_Is_active( &the_thread->Timer ) ) { -
cpukit/score/src/threadreset.c
re816b4e re3f6d35 49 49 { 50 50 CORE_mutex_Control *mutex; 51 ISR_Level level; 51 52 52 53 the_thread->resource_count = 0; … … 67 68 } 68 69 70 _ISR_Disable( level ); 69 71 if ( the_thread->Priority_node.waiting_to_hold != NULL ) { 70 72 mutex = _Thread_Dequeue_priority_node( &the_thread->Priority_node ); 71 73 _Thread_Evaluate_priority( mutex->holder ); 72 74 } 75 _ISR_Enable( level ); 73 76 77 _ISR_Disable( level ); 74 78 while ( !_Chain_Is_empty( &the_thread->Priority_node.Inherited_priorities ) ) { 75 79 _Thread_Dequeue_priority_node( … … 78 82 )) 79 83 ); 84 _ISR_Flash( level ); 80 85 } 86 _ISR_Enable( level ); 81 87 82 88 if ( the_thread->Priority_node.current_priority != the_thread->Start.initial_priority ) {
Note: See TracChangeset
for help on using the changeset viewer.