~rdoering/ubuntu/karmic/erlang/fix-535090

« back to all changes in this revision

Viewing changes to lib/sasl/doc/src/rel/sup.1.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-02-15 16:42:52 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090215164252-q5x4rcf8a5pbesb1
Tags: 1:12.b.5-dfsg-2
Upload to unstable after lenny is released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-module(sup).
 
2
-vsn(1).
 
3
-behaviour(supervisor).
 
4
-export([init/1]).
 
5
 
 
6
init([]) ->
 
7
    SupFlags = {one_for_one, 4, 3600},
 
8
    Server = {my_server, {my_server, start_link, []},
 
9
              permanent, 2000, worker, [my_server]},
 
10
    GS1 = {gs1, {gs1, start_link, []}, permanent, 2000, worker, [gs1]},  
 
11
    {ok, {SupFlags, [Server, GS1]}}.