Skip to content

Handle race condition in PdhUtil#PdhEnumObjectItems #1442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

dbwiddis
Copy link
Contributor

PdhException can occur when fetching lists of counter instances which change frequently, such as processes or threads.

@dbwiddis dbwiddis force-pushed the enumobjectitems-fix branch from ca2761c to e1dd416 Compare May 31, 2022 14:25
@dbwiddis dbwiddis requested a review from matthiasblaesing June 3, 2022 04:51
Copy link
Member

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sane to me.

@dbwiddis dbwiddis merged commit c1565fb into java-native-access:master Jun 8, 2022
@dbwiddis dbwiddis deleted the enumobjectitems-fix branch June 8, 2022 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants