summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Bolinder <hasse@erlang.org>2017-09-18 14:32:50 +0200
committerGitHub <noreply@github.com>2017-09-18 14:32:50 +0200
commit345ebfe0ac2f2ca145accc14d93eef863905269f (patch)
tree010bc72416216f361806e5ca830a205cdcdd076d
parent08a93b7432b8e7f338b88328680f2aa88fb413e8 (diff)
parentdfed84a859fbb64ae4ec9d291c3af6a5ab411ec1 (diff)
downloaderlang-345ebfe0ac2f2ca145accc14d93eef863905269f.tar.gz
Merge pull request #1570 from Zorbash/typo-pool
Fix doc typos in pool module
-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),