-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mutexes: Advise against embedding (#130)
Our guidance for mutexes suggested that it was okay to embed mutexes in structs if the struct was unexported. This was left as an allowance for "if you really want to do it, this is the only time it's okay", but that nuance doesn't translate well to the style guide. Advise against embedding mutexes completely to resolve any confusion here. Resolves #127
- Loading branch information
Showing
1 changed file
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters