]> rtime.felk.cvut.cz Git - ulut.git/commit
Simplify CBUFF tail/consumer attachment.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Sun, 25 Nov 2012 22:08:13 +0000 (23:08 +0100)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Sun, 25 Nov 2012 22:11:25 +0000 (23:11 +0100)
commit0b6baeca64827c2dfaa86b43bbb9ab86c6421e7c
tree69a736c91b43eb9f8ae42d817427e05efe938216
parent45c5641bebccae31bb04f235c45f8011d5683e44
Simplify CBUFF tail/consumer attachment.

Consumer does receives only messages which are allocated
later than tail is attached. CBUFF requires at least
one consumer/tail reader before buffer is filled.
The previous attempt to allow special handling
of zero readers situation was nor used nor tested
and was not correct. Code removed.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
ulut/ul_cbuff.h