forked from Imagelibrary/rtems
score: Add and use _Thread_Dispatch_is_enabled()
Delete _Thread_Dispatch_in_critical_section() and _Thread_Is_dispatching_enabled().
This commit is contained in:
@@ -170,7 +170,7 @@ void __ISR_Handler( uint32_t vector)
|
||||
if ( _ISR_Nest_level )
|
||||
return;
|
||||
|
||||
if ( _Thread_Dispatch_in_critical_section() ) {
|
||||
if ( !_Thread_Dispatch_is_enabled() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -172,7 +172,7 @@ void __ISR_Handler( uint32_t vector)
|
||||
if ( _ISR_Nest_level )
|
||||
return;
|
||||
|
||||
if ( _Thread_Dispatch_in_critical_section() ) {
|
||||
if ( !_Thread_Dispatch_is_enabled() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ void __ISR_Handler( uint32_t vector)
|
||||
if ( _ISR_Nest_level )
|
||||
return;
|
||||
|
||||
if ( _Thread_Dispatch_in_critical_section() ) {
|
||||
if ( !_Thread_Dispatch_is_enabled() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ void __ISR_Handler( uint32_t vector)
|
||||
if ( _ISR_Nest_level )
|
||||
return;
|
||||
|
||||
if ( _Thread_Dispatch_in_critical_section() ) {
|
||||
if ( !_Thread_Dispatch_is_enabled() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user