src/Pure/ML-Systems/maximum_ml_stack_polyml-5.5.3.ML
author wenzelm
Thu, 29 Jan 2015 15:21:16 +0100
changeset 59468 fe6651760643
permissions -rw-r--r--
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;

(*  Title:      Pure/ML-Systems/maximum_ml_stack_polyml-5.5.3.ML

Maximum stack size (in words) for ML threads -- Poly/ML 5.5.3, or later.
*)

fun maximum_ml_stack limit = [Thread.MaximumMLStack limit];