changeset 61925 | ab52f183f020 |
parent 61794 | 4c232a2ddeab |
61924:55b3d21ab5e5 | 61925:ab52f183f020 |
---|---|
1 (* Title: Pure/RAW/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; |