| author | wenzelm |
| Mon, 24 Aug 2015 20:08:00 +0200 | |
| changeset 61017 | a538a03972d2 |
| parent 60923 | 020becec359c |
| permissions | -rw-r--r-- |
| 60923 | 1 |
(* Title: Pure/ML-Systems/ml_stack_polyml-5.5.3.ML |
|
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
|
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 |
|
| 60923 | 6 |
signature ML_STACK = |
7 |
sig |
|
8 |
val limit: int option -> Thread.threadAttribute list |
|
9 |
end; |
|
|
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
|
10 |
|
| 60923 | 11 |
structure ML_Stack: ML_STACK = |
12 |
struct |
|
13 |
||
14 |
fun limit m = [Thread.MaximumMLStack m]; |
|
15 |
||
16 |
end; |