From 8a38f3b1e5cb8f5e8e680e05ffbf7e0eaf54de2d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 9 Feb 1996 14:21:37 +0000 Subject: added clear of _ISR_Signals_to_thread_executing --- cpukit/score/cpu/no_cpu/cpu_asm.c | 1 + cpukit/score/cpu/unix/cpu.c | 1 + 2 files changed, 2 insertions(+) (limited to 'cpukit') 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(); } -- cgit v1.2.3