diff options
author | Jared Morrow <jared@basho.com> | 2014-05-19 09:06:20 -0600 |
---|---|---|
committer | Jared Morrow <jared@basho.com> | 2014-05-19 09:06:20 -0600 |
commit | fdb66ecb94adc6f241714249c8e912330118f57e (patch) | |
tree | ca8c3d2ca808277d6e6455eed6c2fb043af0829b /inttest/erlc/extra-src | |
parent | 0fa0ff4f17bb180dc57147ba0bc31dde1377a899 (diff) | |
parent | b2dfebab15cc92b337b9cc9e771cb7de3ed61e4a (diff) |
Merge pull request #242 from tuncer/erlc-speedup-v5-fixup
Extra commits for #129
Diffstat (limited to 'inttest/erlc/extra-src')
-rw-r--r-- | inttest/erlc/extra-src/foo_sup.erl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/inttest/erlc/extra-src/foo_sup.erl b/inttest/erlc/extra-src/foo_sup.erl new file mode 100644 index 0000000..a0f06b6 --- /dev/null +++ b/inttest/erlc/extra-src/foo_sup.erl @@ -0,0 +1,13 @@ +-module(foo_sup). + +-behavior(supervisor). + +-export([start_link/0, + init/1]). + +start_link() -> + supervisor:start_link({local, ?MODULE}, ?MODULE, []). + +init(_Args) -> + FooChild = {foo,{foo, start_link, []}, permanent, 5000, worker, [foo]}, + {ok,{{one_for_all,1,1}, [FooChild]}}. |