src/Pure/ML-Systems/maximum_ml_stack_polyml-5.5.3.ML
author wenzelm
Thu, 30 Apr 2015 15:58:15 +0200
changeset 60159 879918f4ee0f
parent 59468 fe6651760643
permissions -rw-r--r--
tuned -- avoid odd rebinding of "ctxt" and "context";
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
59468
fe6651760643 explicit threads_stack_limit (for recent Poly/ML SVN versions), which leads to soft interrupt instead of exhaustion of virtual memory, which is particularly relevant for the bigger address space of x86_64;
wenzelm
parents:
diff changeset
     1
(*  Title:      Pure/ML-Systems/maximum_ml_stack_polyml-5.5.3.ML
fe6651760643 explicit threads_stack_limit (for recent Poly/ML SVN versions), which leads to soft interrupt instead of exhaustion of virtual memory, which is particularly relevant for the bigger address space of x86_64;
wenzelm
parents:
diff changeset
     2
fe6651760643 explicit threads_stack_limit (for recent Poly/ML SVN versions), which leads to soft interrupt instead of exhaustion of virtual memory, which is particularly relevant for the bigger address space of x86_64;
wenzelm
parents:
diff changeset
     3
Maximum stack size (in words) for ML threads -- Poly/ML 5.5.3, or later.
fe6651760643 explicit threads_stack_limit (for recent Poly/ML SVN versions), which leads to soft interrupt instead of exhaustion of virtual memory, which is particularly relevant for the bigger address space of x86_64;
wenzelm
parents:
diff changeset
     4
*)
fe6651760643 explicit threads_stack_limit (for recent Poly/ML SVN versions), which leads to soft interrupt instead of exhaustion of virtual memory, which is particularly relevant for the bigger address space of x86_64;
wenzelm
parents:
diff changeset
     5
fe6651760643 explicit threads_stack_limit (for recent Poly/ML SVN versions), which leads to soft interrupt instead of exhaustion of virtual memory, which is particularly relevant for the bigger address space of x86_64;
wenzelm
parents:
diff changeset
     6
fun maximum_ml_stack limit = [Thread.MaximumMLStack limit];
fe6651760643 explicit threads_stack_limit (for recent Poly/ML SVN versions), which leads to soft interrupt instead of exhaustion of virtual memory, which is particularly relevant for the bigger address space of x86_64;
wenzelm
parents:
diff changeset
     7