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

Create a thread-safety analysis linter #14

Open
prateek opened this issue Mar 23, 2018 · 0 comments
Open

Create a thread-safety analysis linter #14

prateek opened this issue Mar 23, 2018 · 0 comments

Comments

@prateek
Copy link
Collaborator

prateek commented Mar 23, 2018

Came across some thread-safety macros Clang provides for C++, and it really makes me want the equivalent for Go.

We should create a linter to do this, it'd catch a lot of issues - ensuring all code paths in a function release any locks which are held, ensuring we hold a lock while executing a function and/or reading/writing a specified variable.

Here's the paper about the work done for Clang/C++: https://research.google.com/pubs/archive/42958.pdf

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

No branches or pull requests

1 participant