ryzom / ryzomcore

Ryzom Core is the open-source project related to the Ryzom game. This community repository is synchronized with the Ryzom Forge repository, based on the Core branch.
https://wiki.ryzom.dev
GNU Affero General Public License v3.0
342 stars 90 forks source link

Add getMsgNb method to CBufFIFO #402

Closed ryzom-pipeline closed 1 year ago

ryzom-pipeline commented 15 years ago

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.

Original creation date in redmine: 2009/09/03 20:56:26 +0200 by sfb at https://dev.ryzom.com/issues/685

kaetemi commented 1 year ago

Cleaning up stale issues.