aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/pool.erl
diff options
context:
space:
mode:
authorDimitris Zorbas <[email protected]>2017-09-17 21:40:33 +0100
committerDimitris Zorbas <[email protected]>2017-09-17 21:40:33 +0100
commitdfed84a859fbb64ae4ec9d291c3af6a5ab411ec1 (patch)
tree350925c9888cf35a3b7597b999c571b5cbd425e4 /lib/stdlib/src/pool.erl
parentc84f6fa2dc7c7615e36a575571ee1a6e9cd586a4 (diff)
downloadotp-dfed84a859fbb64ae4ec9d291c3af6a5ab411ec1.tar.gz
otp-dfed84a859fbb64ae4ec9d291c3af6a5ab411ec1.tar.bz2
otp-dfed84a859fbb64ae4ec9d291c3af6a5ab411ec1.zip
Fix doc typos in pool module
Diffstat (limited to 'lib/stdlib/src/pool.erl')
-rw-r--r--lib/stdlib/src/pool.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/src/pool.erl b/lib/stdlib/src/pool.erl
index 05950a1d7c..b12ff205b1 100644
--- a/lib/stdlib/src/pool.erl
+++ b/lib/stdlib/src/pool.erl
@@ -25,7 +25,7 @@
%% with the least load !!!!
%% This function is callable from any node including the master
%% That is part of the pool
-%% nodes are scheduled on a per usgae basis and per load basis,
+%% nodes are scheduled on a per usage basis and per load basis,
%% Whenever we use a node, we put at the end of the queue, and whenever
%% a node report a change in load, we insert it accordingly
@@ -197,7 +197,7 @@ pure_insert({Load,Node},[{L,N}|Tail]) when Load < L ->
pure_insert(L,[H|T]) -> [H|pure_insert(L,T)].
%% Really should not measure the contributions from
-%% the back ground processes here .... which we do :-(
+%% the background processes here .... which we do :-(
%% We don't have to monitor the master, since we're slaves anyway
statistic_collector() ->
@@ -213,7 +213,7 @@ statistic_collector(I) ->
stat_loop(M, 999999)
end.
-%% Do not tell the master about our load if it has not changed
+%% Do not tell the master about our load if it has not changed
stat_loop(M, Old) ->
sleep(2000),