diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2012-01-20 12:34:21 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2012-01-20 12:34:21 +0000 |
| commit | c456427a270407d5321ce5d59db578988ca894d8 (patch) | |
| tree | 65ac298b2ecddc6851ce1c2cb8f69ec7919f5e2f /src | |
| parent | 9ab3d151291632061f54e8b07f6a58d1f1921961 (diff) | |
| download | rabbitmq-server-git-c456427a270407d5321ce5d59db578988ca894d8.tar.gz | |
More doc.
Diffstat (limited to 'src')
| -rw-r--r-- | src/credit_flow.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/credit_flow.erl b/src/credit_flow.erl index 2913ab1675..cfafd920e2 100644 --- a/src/credit_flow.erl +++ b/src/credit_flow.erl @@ -53,6 +53,9 @@ %% variable names are used in credit bookkeeping and want to make %% sense internally). +%% For any given pair of processes, ack/2 and send/2 must always be +%% called with the same credit_spec(). + ack(To, {MaxCredit, MoreCreditAt}) -> MoreCreditAt1 = MoreCreditAt + 1, Credit = |
