We currently increment the counter in thread unsafe manner. See comment here related to that. Its good to be more accurate than the current implementation by using a thread-safe way to increment the count.
The current type is a uint32_t, where _InterlockedIncrement doesn't work without a cast in non-Windows and there is a pending request to change the API due to likely overflow of the current data type.
We currently increment the counter in thread unsafe manner. See comment here related to that. Its good to be more accurate than the current implementation by using a thread-safe way to increment the count.
The current type is a uint32_t, where _InterlockedIncrement doesn't work without a cast in non-Windows and there is a pending request to change the API due to likely overflow of the current data type.