Lint potential race conditions #5074
Labels
A-lint
Area: New lints
C-an-interesting-project
Category: Interesting projects, that usually are more involved design/code wise.
E-hard
Call for participation: This a hard problem and requires more experience or effort to work on
@yaahc and I were discussing whether
clippy
would be able to identify potential misuse of synchronization locks like in this example.It would be great if we could help guard against race conditions by having
clippy
suggest proper usage of synchronization APIs.The text was updated successfully, but these errors were encountered: