1 (* Copyright (C) 1999-2007 Henry Cejtin, Matthew Fluet, Suresh
2 * Jagannathan, and Stephen Weeks.
3 * Copyright (C) 1997-2000 NEC Research Institute.
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
9 signature MLTON_WORLD =
11 datatype status = Clone | Original
13 val load: string -> 'a
14 (* Save the world to resume with the current thread. *)
15 val save: string -> status
16 (* Save the world to resume with the given thread. *)
17 val saveThread: string * MLtonThread.Runnable.t -> unit