changeset 23968 | 091abf849a26 |
parent 23967 | 92130b24e87f |
child 23969 | ef782bbf2d09 |
23967:92130b24e87f | 23968:091abf849a26 |
---|---|
1 (* Title: Pure/ML-Systems/no_multithreading.ML |
|
2 ID: $Id$ |
|
3 Author: Makarius |
|
4 |
|
5 Compatibility file for ML systems without multithreading. |
|
6 *) |
|
7 |
|
8 (*default number of worker threads*) |
|
9 val multithreading = ref (NONE: int option); |
|
10 |
|
11 (*critical section*) |
|
12 fun self_critical () = false; |
|
13 fun CRITICAL e = e (); |