summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadsetstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threadsetstate.c')
-rw-r--r--cpukit/score/src/threadsetstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadsetstate.c b/cpukit/score/src/threadsetstate.c
index 1dcf33344c..ff86209852 100644
--- a/cpukit/score/src/threadsetstate.c
+++ b/cpukit/score/src/threadsetstate.c
@@ -41,7 +41,7 @@ void _Thread_Set_state(
)
{
ISR_Level level;
-
+
_ISR_Disable( level );
if ( !_States_Is_ready( the_thread->current_state ) ) {
the_thread->current_state =