sajjadtamimi / embox

Automatically exported from code.google.com/p/embox
0 stars 0 forks source link

Use ring in ring_buff #561

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
ring = head+tail mgmt
ring_buff = ring + buffer (ptr+size) + element size (btw, is it necessary?)

Some logic (handling data wrapping, e.g.) could be reused

Original issue reported on code.google.com by Eldar.Abusalimov on 20 Mar 2013 at 8:17

GoogleCodeExporter commented 8 years ago

Original comment by drakon.m...@gmail.com on 3 Mar 2015 at 4:56