aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2005-02-10 14:56:32 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2005-02-10 14:56:32 +0100
commite05be4b4c70f72b8836cd89428d99a709c3d83b1 (patch)
tree3ba6a6003562325bbdfda49bf045d20585bbc957
parente703a483c42de88fed17d497a23cafab79772721 (diff)
downloadgcc-e05be4b4c70f72b8836cd89428d99a709c3d83b1.zip
gcc-e05be4b4c70f72b8836cd89428d99a709c3d83b1.tar.gz
gcc-e05be4b4c70f72b8836cd89428d99a709c3d83b1.tar.bz2
s-tporft.adb (Register_Foreign_Thread): Initialize Task_Image[_Len] fields for foreign threads.
* s-tporft.adb (Register_Foreign_Thread): Initialize Task_Image[_Len] fields for foreign threads. From-SVN: r94823
-rw-r--r--gcc/ada/s-tporft.adb5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/s-tporft.adb b/gcc/ada/s-tporft.adb
index feb922a..bcd7f97 100644
--- a/gcc/ada/s-tporft.adb
+++ b/gcc/ada/s-tporft.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2002-2004, Free Software Foundation, Inc. --
+-- Copyright (C) 2002-2005, Free Software Foundation, Inc. --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -83,6 +83,9 @@ begin
Self_Id.Common.State := Runnable;
Self_Id.Awake_Count := 1;
+ Self_Id.Common.Task_Image (1 .. 14) := "foreign thread";
+ Self_Id.Common.Task_Image_Len := 14;
+
-- Since this is not an ordinary Ada task, we will start out undeferred
Self_Id.Deferral_Level := 0;