author | wenzelm |
Mon, 15 Feb 2016 14:55:44 +0100 | |
changeset 62337 | d3996d5873dd |
parent 61925 | ab52f183f020 |
permissions | -rw-r--r-- |
61925 | 1 |
(* Title: Pure/RAW/ml_stack_dummy.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 -- dummy version. |
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 (_: int option) : Thread.threadAttribute list = []; |
|
15 |
||
16 |
end; |