changeset 61794 | 4c232a2ddeab |
parent 60923 | 020becec359c |
61793:4c9e1e5a240e | 61794:4c232a2ddeab |
---|---|
1 (* Title: Pure/ML-Systems/ml_stack_polyml-5.6.ML |
|
2 |
|
3 Maximum stack size (in words) for ML threads -- Poly/ML 5.6, or later. |
|
4 *) |
|
5 |
|
6 signature ML_STACK = |
|
7 sig |
|
8 val limit: int option -> Thread.threadAttribute list |
|
9 end; |
|
10 |
|
11 structure ML_Stack: ML_STACK = |
|
12 struct |
|
13 |
|
14 fun limit m = [Thread.MaximumMLStack m]; |
|
15 |
|
16 end; |