summaryrefslogtreecommitdiff
path: root/gcc/ada/s-thread.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-thread.adb')
-rw-r--r--gcc/ada/s-thread.adb5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/s-thread.adb b/gcc/ada/s-thread.adb
index fe6d1f936a4..6687d28bce9 100644
--- a/gcc/ada/s-thread.adb
+++ b/gcc/ada/s-thread.adb
@@ -33,6 +33,11 @@
-- This is the VxWorks version of this package
+pragma Restrictions (No_Tasking);
+-- The VxWorks version of this package is intended only for programs
+-- which do not use Ada tasking. This restriction ensures that this
+-- will be checked by the binder.
+
with System.Secondary_Stack;
with Unchecked_Conversion;