Created
May 10, 2016 19:13
-
-
Save marcelog/7ee235979a7f0adc8890f712866a6f56 to your computer and use it in GitHub Desktop.
Revisions
-
marcelog created this gist
May 10, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ -module(mymodule). start_link() -> gen_server:start_link({local, ?MODULE}, ?MODULE, [], []). ... crash() -> gen_server:cast(?MODULE, crash). ... handle_cast(crash,State) -> {stop, error, State}; ...