summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-02-09 14:21:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-02-09 14:21:37 +0000
commit8a38f3b1e5cb8f5e8e680e05ffbf7e0eaf54de2d (patch)
tree6dedefb8be02a15744a68ba32516425c7f2de0e2 /cpukit
parentchanged synchronization algorithm to be a single list of enumerated states (diff)
downloadrtems-8a38f3b1e5cb8f5e8e680e05ffbf7e0eaf54de2d.tar.bz2
added clear of _ISR_Signals_to_thread_executing
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/no_cpu/cpu_asm.c1
-rw-r--r--cpukit/score/cpu/unix/cpu.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/cpu/no_cpu/cpu_asm.c b/cpukit/score/cpu/no_cpu/cpu_asm.c
index 7b87a5ffba..5a36ece987 100644
--- a/cpukit/score/cpu/no_cpu/cpu_asm.c
+++ b/cpukit/score/cpu/no_cpu/cpu_asm.c
@@ -149,6 +149,7 @@ void _ISR_Handler()
* goto the label "exit interrupt (simple case)"
*
* if ( !_ISR_Signals_to_thread_executing )
+ * _ISR_Signals_to_thread_executing = FALSE;
* goto the label "exit interrupt (simple case)"
*
* call _Thread_Dispatch() or prepare to return to _ISR_Dispatch
diff --git a/cpukit/score/cpu/unix/cpu.c b/cpukit/score/cpu/unix/cpu.c
index de3e6a7118..e32410aa35 100644
--- a/cpukit/score/cpu/unix/cpu.c
+++ b/cpukit/score/cpu/unix/cpu.c
@@ -622,6 +622,7 @@ void _CPU_ISR_Handler(int vector)
if (_Thread_Dispatch_disable_level == 0 &&
(_Context_Switch_necessary || _ISR_Signals_to_thread_executing)) {
+ _ISR_Signals_to_thread_executing = FALSE;
_CPU_ISR_Enable(0);
_Thread_Dispatch();
}