From 282b96ddd9a84b740788c2358ec0f5fedafb7cc6 Mon Sep 17 00:00:00 2001 From: Noah Slater Date: Mon, 6 Jul 2009 00:33:50 +0000 Subject: trimmed trailing whitespace git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791350 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_ref_counter.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/couchdb/couch_ref_counter.erl') diff --git a/src/couchdb/couch_ref_counter.erl b/src/couchdb/couch_ref_counter.erl index 0fbec729..59ede9c9 100644 --- a/src/couchdb/couch_ref_counter.erl +++ b/src/couchdb/couch_ref_counter.erl @@ -18,11 +18,11 @@ start(ChildProcs) -> gen_server:start(couch_ref_counter, {self(), ChildProcs}, []). - - + + drop(RefCounterPid) -> drop(RefCounterPid, self()). - + drop(RefCounterPid, Pid) -> gen_server:cast(RefCounterPid, {drop, Pid}). @@ -42,7 +42,7 @@ count(RefCounterPid) -> { referrers=dict:new() % a dict of each ref counting proc. }). - + init({Pid, ChildProcs}) -> [link(ChildProc) || ChildProc <- ChildProcs], Referrers = dict:from_list([{Pid, {erlang:monitor(process, Pid), 1}}]), -- cgit v1.2.3