author | immler |
Tue, 22 Dec 2015 21:58:27 +0100 | |
changeset 61915 | e9812a95d108 |
parent 61794 | 4c232a2ddeab |
permissions | -rw-r--r-- |
61794
4c232a2ddeab
discontinued intermediate polyml-5.5.3, assuming the coming release will be polyml-5.6;
wenzelm
parents:
60923
diff
changeset
|
1 |
(* Title: Pure/ML-Systems/ml_stack_polyml-5.6.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 |
|
61794
4c232a2ddeab
discontinued intermediate polyml-5.5.3, assuming the coming release will be polyml-5.6;
wenzelm
parents:
60923
diff
changeset
|
3 |
Maximum stack size (in words) for ML threads -- Poly/ML 5.6, or later. |
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
|
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; |