author | blanchet |
Fri, 02 Oct 2015 21:06:32 +0200 | |
changeset 61310 | 9a50ea544fd3 |
parent 60923 | 020becec359c |
permissions | -rw-r--r-- |
60923 | 1 |
(* Title: Pure/ML-Systems/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; |