Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (10 sloc) 0.363 kb
%% Poolboy - A hunky Erlang worker pool factory
-export([start_link/2, init/1]).
start_link(Mod, Args) ->
supervisor:start_link(?MODULE, {Mod, Args}).
init({Mod, Args}) ->
{ok, {{simple_one_for_one, 0, 1},
[{Mod, {Mod, start_link, [Args]},
temporary, brutal_kill, worker, [Mod]}]}}.
Jump to Line
Something went wrong with that request. Please try again.