aboutsummaryrefslogtreecommitdiff
path: root/eco_tb.erl
blob: c13bb5d46d4f1a2f0c32354ec11ea053fb11138c (plain)
1
2
3
4
5
6
7
8
-module(eco_tb).
-export([start/0]).

start() ->
	Watcher = spawn(eco_watcher, watcher, []),
	Pool = spawn(eco_pool, start_pool, [[1,1,1]]),
	Proc1 = spawn(eco_proc, proc, [Watcher, [1], [], Pool, 3, 3]),
	_Ticker = spawn(eco_time, ticker, [Watcher, 1000, [Proc1], 3000]).