Skip to content

Ensure exception count metric is thread-safe #85997

@LakshanF

Description

@LakshanF

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.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions