Feature #685
Add getMsgNb method to CBufFIFO.
Status: | New | Start date: | 09/03/2009 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - |
Description
Per a todo note in buf_fifo.h:
TODO: Add a method getMsgNb() that will return the number of messages in queue. For acceptable performance, it would need to store the current number instead of browsing the blocks.
If we do not need or want this then we should clear this TODO out of the file before closing the issue.
History
#1 Updated by kervala almost 5 years ago
- Project changed from NeL to Ryzom
- Category deleted (
Misc) - Target version deleted (
0.8.0)
#2 Updated by kervala over 4 years ago
Doesn't size() do the same thing ?