concurrentqueue icon indicating copy to clipboard operation
concurrentqueue copied to clipboard

能否在moodycamel::ConcurrentQueue中提供一个size()的功能

Open LOWRUI opened this issue 3 years ago • 1 comments

LOWRUI avatar Jan 18 '22 05:01 LOWRUI

Can you provide a size() function in moodycamel::ConcurrentQueue?

No, though size_approx() should be fairly accurate most of the time (and completely accurate without contention).

cameron314 avatar Jan 18 '22 12:01 cameron314