Commit ecc37585 by Arnaud Charlet

(Minimum_Stack_Size): Increase value to 16K

From-SVN: r134075
parent e540d8d1
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
-- -- -- --
-- B o d y -- -- B o d y --
-- -- -- --
-- Copyright (C) 1995-2005, Free Software Foundation, Inc. -- -- Copyright (C) 1995-2008, Free Software Foundation, Inc. --
-- -- -- --
-- GNAT is free software; you can redistribute it and/or modify it under -- -- GNAT 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- -- -- terms of the GNU General Public License as published by the Free Soft- --
...@@ -73,8 +73,10 @@ package body System.Parameters is ...@@ -73,8 +73,10 @@ package body System.Parameters is
begin begin
-- 12K is required for stack-checking to work reliably on most platforms -- 12K is required for stack-checking to work reliably on most platforms
-- when using the GCC scheme to propagate an exception in the ZCX case. -- when using the GCC scheme to propagate an exception in the ZCX case.
-- 16K is the value of PTHREAD_STACK_MIN under Linux, so is a reasonable
-- default.
return 12 * 1024; return 16 * 1024;
end Minimum_Stack_Size; end Minimum_Stack_Size;
end System.Parameters; end System.Parameters;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment