Closed wsehjk closed 2 weeks ago
I think overrun_counter, size, and reset_overrun_counter func don't need the flexibility of std::unique_lock, it's better to use std::lock_guard with minimal overhead;
overrun_counter
size
reset_overrun_counter
std::unique_lock
std::lock_guard
Merged. Thanks @wsehjk
I think
overrun_counter
,size
, andreset_overrun_counter
func don't need the flexibility ofstd::unique_lock
, it's better to usestd::lock_guard
with minimal overhead;