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

Allow extensions for VSTHRD002 (Avoid problematic synchronous waits) #344

Open
sharwell opened this issue Aug 7, 2018 · 0 comments
Open

Comments

@sharwell
Copy link
Member

sharwell commented Aug 7, 2018

Is your feature request related to a problem? Please describe.

VSTHRD002 reports violations for use of specific synchronous waiting APIs. For applications that abstracted this and are working to incrementally switch to newer APIs, it would be nice to add the custom abstraction to the set of APIs recognized by VSTHRD002.

Describe the solution you'd like

A similar approach to that taken by other extensible diagnostics.

Describe alternatives you've considered

Marking the methods [Obsolete], which works to a degree but suffers from inability to distinguish #pragma warning suppress at the call sites according to the specific type of violation involved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants