Anybody done this

Dave Love
Thu Apr 1 23:48:20 CEST 2004

Joe Armstrong <joe@REDACTED> writes:

> 2) Stopping and starting Erlang.
>   I'd  like to  say  erlang:suspend(File) which  would suspend  Erlang
> dumping the state into a  file and later say erlang:resume(File) which
> would re-start  the suspended Erlang  from *exactly* the state  it was
> in.

Emacs' unexec does basically that, but (a) unexec is a maintenance
nightmare, whatever rms says -- use mmapped data instead -- and (b)
you're stuffed if you want state like network connexions to persist.
(Unexec has actually been used in a few things other than Emacs.)

More information about the erlang-questions mailing list