lib/cml/core-cml/running.sml
raw| 1 | (* running.sml |
| 2 | * 2004 Matthew Fluet ([email protected]) |
| 3 | * Ported to MLton threads. |
| 4 | *) |
| 5 | |
| 6 | (* running.sml |
| 7 | * |
| 8 | * COPYRIGHT (c) 1997 Bell Labs, Lucent Technologies. |
| 9 | * |
| 10 | * A flag to tell us if CML is running. This gets set and cleared in the |
| 11 | * RunCMLFn functor, but other modules need to test it. |
| 12 | *) |
| 13 | |
| 14 | structure Running = |
| 15 | struct |
| 16 | val isRunning = ref false |
| 17 | end |