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

[Diagnostics] Add EventSource Callback Possible Deadlock Warning #43197

Merged

Conversation

mdh1418
Copy link
Member

@mdh1418 mdh1418 commented Oct 24, 2024

Summary

This PR aims to improve EventSource documentation by warning users against bad practices when implementing EventSource callbacks.

Fixes dotnet/diagnostics#4825


Internal previews

📄 File 🔗 Preview link
docs/core/diagnostics/eventsource-collect-and-view-traces.md docs/core/diagnostics/eventsource-collect-and-view-traces

@mdh1418 mdh1418 requested a review from noahfalk October 24, 2024 18:20
@mdh1418 mdh1418 requested review from tommcdon and a team as code owners October 24, 2024 18:20
@dotnetrepoman dotnetrepoman bot added this to the October 2024 milestone Oct 24, 2024
@mdh1418 mdh1418 force-pushed the add_deadlock_warning_for_eventsource_callbacks branch from 1a73375 to 33cd37b Compare October 24, 2024 18:28
docs/core/diagnostics/eventsource.md Outdated Show resolved Hide resolved
docs/core/diagnostics/eventsource.md Outdated Show resolved Hide resolved
docs/core/diagnostics/eventsource.md Outdated Show resolved Hide resolved
docs/core/diagnostics/eventsource.md Outdated Show resolved Hide resolved
docs/core/diagnostics/eventsource.md Outdated Show resolved Hide resolved
Copy link
Member

@tommcdon tommcdon left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Copy link
Member

@noahfalk noahfalk left a comment

Choose a reason for hiding this comment

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

Couple more suggestions inline

@mdh1418
Copy link
Member Author

mdh1418 commented Oct 29, 2024

@dotnet/docs Could I get a review for this change, please?

@mdh1418 mdh1418 merged commit 2fbaea2 into dotnet:main Nov 4, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NativeRuntimeEventSource behaving poorly in conjunction with other providers
3 participants