summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/context.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-06 14:55:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-06 14:55:01 +0000
commit2f200c7e642c214accb7cc6bd7f0f1784deec833 (patch)
treeece6f8e2bea3447dd66811b61fc1c82fff05bb40 /cpukit/score/include/rtems/score/context.h
parentadded Sporadic Server support (diff)
downloadrtems-2f200c7e642c214accb7cc6bd7f0f1784deec833.tar.bz2
Added Sporadic Server support to posix threads which required changes
in the core to support multiple algorithms to handle cpu time budgetting which resulted in a change to the calling sequence of _Thread_Initialize. Makde _Context_Switch_necessary volatile.
Diffstat (limited to 'cpukit/score/include/rtems/score/context.h')
-rw-r--r--cpukit/score/include/rtems/score/context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/context.h b/cpukit/score/include/rtems/score/context.h
index bd5c3b7126..6b48036480 100644
--- a/cpukit/score/include/rtems/score/context.h
+++ b/cpukit/score/include/rtems/score/context.h
@@ -35,7 +35,7 @@ extern "C" {
* currently executing thread and given to the heir thread.
*/
-SCORE_EXTERN boolean _Context_Switch_necessary;
+SCORE_EXTERN volatile boolean _Context_Switch_necessary;
/*
* _Context_Initialize