Skip to content
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

Add guards to instrumentation logging functions #6558

Merged
merged 5 commits into from
Aug 17, 2023
Merged

Conversation

surovic
Copy link
Contributor

@surovic surovic commented Jul 14, 2023

This PR adds guards to instrumentation logging functions to logging before all of polytracker's data structures are properly initialized.

@surovic surovic self-assigned this Jul 14, 2023
@surovic surovic force-pushed the fix_premature_logging branch 3 times, most recently from b530e01 to 8bbf8dc Compare August 16, 2023 15:12
@surovic surovic requested a review from hbrodin August 16, 2023 15:29
Copy link
Collaborator

@hbrodin hbrodin left a comment

Choose a reason for hiding this comment

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

Overall LGTM. The one concern I'd like your input on before approving is regarding thread safety.

polytracker/src/polytracker/polytracker.cpp Outdated Show resolved Hide resolved
@surovic surovic merged commit 77d6542 into master Aug 17, 2023
12 checks passed
@surovic surovic deleted the fix_premature_logging branch August 17, 2023 14:59
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.

2 participants