blob: 7e26243272a36f90d25fe9d694260205424d3951 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
-module(catlfish_app).
-behaviour(application).
%% Application callbacks
-export([start/2, stop/1]).
%% ===================================================================
%% Application callbacks
%% ===================================================================
dummy() ->
receive
after
infinity ->
none
end.
start(_StartType, _StartArgs) ->
io:format("starting catlfish~n", []),
Pid = spawn(fun () ->
dummy()
end),
{ok, Pid}.
stop(_State) ->
ok.
|