![]() |
alternative Standard Libary
0.29.8
|
safe counter is a base of thread saftly counter Mehr ...
#include <std_counter.hpp>
Zusammengehörigkeiten von std::safe_counter:Öffentliche Methoden | |
| safe_counter (int start=0) | |
| safe_counter & | operator++ () |
| thread saftly increment operator Mehr ... | |
| safe_counter & | operator-- () |
| thread saftly decrement operator Mehr ... | |
| int64_t | count () |
| get the current count Mehr ... | |
Geschützte Attribute | |
| mutex | m_mutex |
| volatile int | m_iCount |
safe counter is a base of thread saftly counter
|
inlineexplicit |
| start | Start value of this counter |
|
inline |
get the current count
|
inline |
thread saftly increment operator
|
inline |
thread saftly decrement operator
|
protected |
|
protected |